[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles key up events for special navigation keys.
Source position: controls.pp line 2279
protected procedure TWinControl.ControlKeyUp( |
var Key: Word; |
Shift: TShiftState |
); virtual; |
Key |
|
Numeric key code examined in the method. |
Shift |
|
Shift, Ctrl, or Alt modifier for the key. |
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.
|
Handles key up messages not already handled by the widget. |
|
|
Handles KeyUp events in a Control, e.g. handles Enter and Esc keys. |
|
|
Interprets Enter as the default action, if applicable. |
|
|
Interprets Esc as Cancel action, if applicable. |
Version 3.2 | Generated 2024-02-25 | Home |