Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 8.6 Statistic
Queries the index of the last pressed mouse button.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
Returns number or error.
DescriptionQueries the index of the last pressed mouse button.
Returns 1 for left, 2 for right and 3 for other. (other is Mac only currently)
Please call EventMonitor.Install earlier in your scripts once on startup of solution.
Call this function in a script triggered by a mouse click (e.g. on a button) to see if mouse event triggering the script was using right or left mouse button.
Created 21st June 2015, last changed 29th July 2015
Feedback: Report problem or ask question.
MBS Xojo blog