Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 10.2 10.3 10.4 10.5 11.0 11.1 11.2 11.3 11.4 11.5 Statistic FMM Blog
Returns bit mask for pressed mouse buttons.
|RemoteControl||11.5||✅ Yes||✅ Yes||❌ No||❌ No||❌ No|
Returns 1 or error.
DescriptionReturns bit mask for pressed mouse buttons.
Returns indices of the mouse buttons currently down.
1 corresponds to left mouse button.
2 is for right mouse.
4 is for third button.
8 is for forth button.
16 is for fifth button.
You may get a value like 3 if both left and right mouse buttons are pressed.
If you query this in a script triggered by a button, you may be too late and the mouse already releases. For that case, please use EventMonitor.LastMouseClickButton instead.
Query mouse buttons:
- Version 11.5
- Added RemoteControl.MouseButtons function.
Created 27th September 2021, last changed 27th September 2021
Feedback: Report problem or ask question.
MBS Xojo Chart Plugins