Platforms to show: All Mac Windows Linux Cross-Platform
Back to ButtonMBS control.
ButtonMBS.Action(x as Integer, y as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Currently called after each MouseUp event.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
ButtonMBS.ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
ButtonMBS.ContextualMenuAction(hitItem as MenuItem) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 17.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
This allows the control to react on its relevant menu items. Please return true if you handled it or false to give others a chance.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 17.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
ButtonMBS.MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 17.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
The coordinates x and y are local to the control, i.e. they represent the position of the mouse click relative to the upper-left corner or the Control.
Return True if you are going to handle the MouseDown. In such a case:
- The Action event, if any, will not execute and the state of the object will not change.
- You will receive the MouseDrag and MouseUp events.
ButtonMBS.MouseDrag(x as Integer, y as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
ButtonMBS.MouseUp(x as Integer, y as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
ButtonMBS.ScaleFactorChanged(NewFactor as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Controls | MBS Overlay Plugin | 17.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Please invalidate any cached bitmaps or other relevant state.
The items on this page are in the following plugins: MBS Overlay Plugin.