Platforms to show: All Mac Windows Linux Cross-Platform
HotKeyMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Hotkey | MBS Util Plugin | 15.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This is a crossplatform replacement for our CarbonHotKeyMBS class.
- 2 events
- 5 properties
- 2 methods
- method Close
- method Constructor(KeyCode as Integer, Modifiers as Integer, Exclusive as Boolean = false)
- shared method KeyCodeForText(name as string) as Integer
- 5 constants
Modifier Flags
Constant | Value | Description |
---|---|---|
AlphaKey | &h400 |
Alpha Lock |
CommandKey | &h100 |
Command Key on Mac, Windows Key on Windows. |
ControlKey | &h1000 |
Control Key |
OptionKey | &h800 |
Option/Alt Key |
ShiftKey | &h200 |
Shift Key |
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 24.3pr1
- MBS Xojo Plugins, version 22.2pr1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.4
- MBS Xojo Plugins, version 20.4pr6
- MBS Xojo Plugins, version 18.4pr2
- MBS Xojo / Real Studio Plugins, version 15.3pr1
- MBS Releases the MBS Xojo / Real Studio plug-ins in version 15.2
- MBS Xojo / Real Studio Plugins, version 15.2pr6
Xojo Developer Magazine
Release notes
- Version 24.3
- Changed HotkeyMBS class for Windows to react on right shift/control/option keys, too.
- Version 22.2
- Marked HotkeyMBS class as console safe, but it may need a main loop with DoEvents to work.
- Version 20.4
- Rewrote HotkeyMBS class for Windows to use official API. May prevent from duplicate registration and a hotkey processed in FileMaker is no longer passed to other apps.
- Version 18.4
- Changed HotKeyMBS to not link to Carbon framework for use in Mac App Store.
The items on this page are in the following plugins: MBS Util Plugin.