MenuItem.HasMacControlKey
From Xojo Documentation
Design Property (as Boolean)
This property is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
The Control key on Mac. This property is Mac-only. If selected, the Control key must be held down while pressing the value of the ShortcutKey property in order to trigger the event handler of the MenuItem.
Notes
Use MenuItem.Shortcut to change this value at runtime.