MenuItem.HasAltKey

From Xojo Documentation

Design Property (as Boolean)


This MenuItem 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 MenuItem. This property is for Windows and Linux only.

Notes

Use MenuItem.Shortcut to change this value at runtime.