BooleanValue =
aKeyboard.
ShiftKey Supported for all project types and targets.
If True, the Shift key was depressed when the current method or event handler began.
Example
This example detects whether the Shift key was depressed. The code is in the Action event of a Timer.
If Keyboard.ShiftKey Then
// handle the keyboard event here....
MessageBox("keyboard event detected...")
End If