[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles key down events for special navigation keys used in a control.
Source position: controls.pp line 2278
protected procedure TWinControl.ControlKeyDown( |
var Key: Word; |
Shift: TShiftState |
); virtual; |
Key |
|
Numeric key code examined in the method. |
Shift |
|
Shift, Ctrl, or Alt modifier for the key. |
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.
|
Handles key down messages which are not handled by the widget. |
|
|
Handles KeyDown events in a Control, e.g. handles navigation keys. |
|
|
Uses the Tab key for navigation, if enabled. |
|
|
Uses arrow keys for navigation, if enabled. |
Version 3.2 | Generated 2024-02-25 | Home |