DesktopMenuItem.HasAltKey
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Design Property (as Boolean)
![]() |
This property is only available on Windows and Linux platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
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.