Sign in Join
FPDoc Onlineexperiment

KeyAndShiftStateToKeyString function

In unit LCLProc

Converts the specified key code and shift modifier to their representation as a String.

Declaration

pascal
function KeyAndShiftStateToKeyString(Key: Word; ShiftState: TShiftState)
: string

Arguments

Key

Key code converted in the routine.

ShiftState

Shift, Ctrl, Alt modifier converted in the routine.

Function result

String representation for the specified value; i. e. 'Ctrl+Home'.

Description

Nothing more than the line above yet.

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