[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Type of an OnShortcut event handler.
Source position: forms.pp line 432
type TShortCutEvent = procedure( |
var Msg: TLMKey; |
var Handled: Boolean |
) of object; |
Msg |
|
The key event message. |
Handled |
|
Set Handled to True to prevent further processing of the key. |
A shortcut handler is invoked when a key is pressed, before any other processing.
It can interpret the key as an shortcut and act accordingly. In this case Handled should be set to True, to prevent further processing of the key.
lazarus-ccr.sourceforge.net |