[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a KeyDown event before the widget processes the key.
Source position: controls.pp line 2269
protected function TWinControl.DoKeyDownBeforeInterface( |
var Message: TLMKey; |
IsRecurseCall: Boolean |
):Boolean; |
Message |
|
Message examined in the method. |
Set to True when the key was handled.
Key event handlers are invoked in sequence, until a handler is located which responds to the key.
First, all application wide handlers are invoked (TApplication.NotifyKeyDownBeforeHandler).
Second, the form handler is invoked when KeyPreview is requested.
Third, the DragManager is used to determine the dragging status for the control. It interprets the ESC key as a cancel dragging request, and the CTRL key as a request to ignore drag targets.
Finally, the TWinControl.OnKeyDown user handler is invoked.
If none of the handlers accept / respond to the key, the widgetset class is used to process the key.
|
Event handler signalled for key down keyboard events. |
|
|
Notifies all ahtKeyDownBefore handlers. |
Version 3.2 | Generated 2024-02-25 | Home |