Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

EventMonitor.LastMouseClickButton

Queries the index of the last pressed mouse button.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
EventMonitor 5.2 Yes Yes No No No

MBS( "EventMonitor.LastMouseClickButton" )

Parameters

none

Result

Returns number or error.

Description

Queries 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.

See also

Example Databases


EventMonitor.Install   -   EventMonitor.LastMouseClickIsDoubleClick

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins