[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a KeyDown event before the widget processes the key.
Source position: controls.pp line 2102
protected function TWinControl.DoKeyDownBeforeInterface( |
var Message: TLMKey; |
IsRecurseCall: Boolean |
):Boolean; |
Set to True when the key was handled.
A number of handlers is invoked, until one handles the key.
First all application wide handlers are invoked (#lcl.Forms.TApplication.NotifyKeyDownBeforeHandler).
Then the form's handler is invoked, when KeyPreview is requested.
Then the DragManager is asked, when dragging. It interprets ESC to cancel dragging, and CTRL to ignore drag targets.
Finally the TWinControl.OnKeyDown user handler is invoked.
If no handler accepts the key, the widget continues to interpret it itself.
lazarus-ccr.sourceforge.net |