Sign in Join
FPDoc Onlineexperiment

TKeyEvent type

In unit keyboard

Base type to describe all key events.

Declaration

pascal
TKeyEvent = Cardinal

Description

The TKeyEvent type is the base type for all keyboard events.

The key stroke is encoded in the 4 bytes of the TKeyEvent type. The various fields of the key stroke encoding can be obtained by typecasting the TKeyEvent type to the TKeyRecord type.

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