TCustomButton.ControlKeyDown procedure
Handles key down events for special navigation keys used in a control.
Declaration
procedure ControlKeyDown(var Key: Word; Shift: TShiftState); overrideArguments
Key | Virtual key code examined in the method. |
Shift | Shift, Ctrl, or Alt modifier for the key. |
Description
ControlKeyDown is a method used to detect and handle key down
events for navigation keys used in the control. ControlKeyDown calls the
corresponding method in TApplication to determine the actions needed for the
key and modifier. The application handles Tab and cursor keys which may
affect control or form focus.
ControlKeyDown is called from the DoRemainingKeyDown method to handle keys not otherwise handled by a control or its parent forms.
This description is the one of Controls.TWinControl.ControlKeyDown.
See also
- DoRemainingKeyDown
- TApplication.ControlKeyDown
- TApplication.DoTabKey
- TApplication.DoArrowKey
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
