MenuItem.HasStandardModifierKey

From Xojo Documentation

Revision as of 22:43, 11 November 2019 by PLefebvre (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.