Sign in Join
FPDoc Onlineexperiment

ShiftStateToString function

In unit keyboard

Return description of key event shift state.

Declaration

pascal
function ShiftStateToString(KeyEvent: TKeyEvent; UseLeftRight: Boolean)
: Shortstring

Description

ShiftStateToString returns a string description of the shift state of the key event KeyEvent. This can be an empty string.

The shift state is described using the strings in the SShift constant.

For an example, see PollShiftStateEvent.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.