DesktopMenuItem.HasAltKey

From Xojo Documentation

Design Property (as Boolean)


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

The Alt key on Windows and Linux keyboards. If selected, the Alt key is must be held down while pressing the value of the Key property in order to trigger the event handler for the DesktopMenuItem. This property is for Windows and Linux only.

Notes

Use DesktopMenuItem.Shortcut to change this value at runtime.