From Xojo Documentation

Design Property (as Boolean)

This DesktopMenuItem property can only be set in the Inspector and is not available in code.

The Control key on Windows and Linux and the Command key on Mac. If this property is selected, the MenuModifier key must be held down while pressing the key specified by the ShortcutKey property to trigger the event handler for the DesktopMenuItem.


Use DesktopMenuItem.Shortcut to change this value at runtime.