MenuItem.HasStandardModifierKey

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Design Property (as Boolean)

This MenuItem 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 MenuItem.

Notes

Use MenuItem.Shortcut to change this value at runtime.