Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
EventMonitor.LastMouseClickButton
Queries the index of the last pressed mouse button.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| EventMonitor | 5.2 | Yes | Yes | No | No | No |
MBS( "EventMonitor.LastMouseClickButton" ) More
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
Blog Entries
Created 21st June 2015, last changed 29th July 2015
EventMonitor.Install - EventMonitor.LastMouseClickIsDoubleClick
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins