Sign in Join
FPDoc Onlineexperiment

TWinControl.ControlKeyUp procedure

Member of TWinControlprotectedIn unit Controls

Handles key up events for special navigation keys.

Declaration

pascal
procedure ControlKeyUp(var Key: Word; Shift: TShiftState); virtual

Arguments

Key

Numeric key code examined in the method.

Shift

Shift, Ctrl, or Alt modifier for the key.

Description

ControlKeyUp is a method used to detect and handle key up events for navigation keys used in the control. ControlKeyUp calls the corresponding method in TApplication to determine the actions needed for the key and modifier. The application handles Return (Enter) and Escape keys which may affect control or form focus.

ControlKeyUp is called from the DoRemainingKeyUp method to handle keys not otherwise handled by a control or its parent forms.

See also

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