Keyboard.AsyncShiftKey

From Xojo Documentation

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

Supported for all project types and targets.

If True, the Shift key is depressed.

Example

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

If Keyboard.AsyncShiftKey Then
// handle the keyboard event here....
MessageBox("keyboard event detected...")
End If