[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

KeyboardStateToShiftState

Converts virtual key state codes to TShiftState values.

Declaration

Source position: forms.pp line 1830

function KeyboardStateToShiftState: TShiftState;

Description

Calls GetKeyState to get the virtual key codes for the following:

The return value is a set type with the TShiftState values corresponding to the virtual key codes. It may be an empty set when none of the virtual keys are detected.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.