Keyboard.AlternateMenuShortCutKey

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aKeyboard.AlternateMenuShortCutKey

New in 2005r1

Supported for all project types and targets.

If True, the alternate menu shortcut modifier is depressed when the current method or event handler began. This checks the Shift key on all platforms.

Example

This example detects the Shift key. It is in the Action event of a Timer.

If Keyboard.AlternateMenuShortcutKey Then
// handle the keyboard event here....
End If