[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled when a key is pressed, before further handling of the key.
Source position: forms.pp line 816
public property TCustomForm.OnShortcut : TShortCutEvent |
OnShortcut is a TShortcutEvent property that represents the event handler signalled (when assigned) to detect and handle a shortcut key for the form instance. OnShortcut is called from the IsShortcut method used to examine keystroke events intercepted and forwarded by the Application.
The Msg argument contains the key event examined in the handler. Handled indicates that the key is handled by the event when set to True.
|
Determines whether the specified message contains a shortcut or accelerator key. |
|
|
Checks whether a handler is available for the shortcut key in the message. |
|
|
Event handler signalled to determine if a keystroke message is a shortcut key in the application. |
|
|
Type used for an OnShortcut event handler. |
Version 3.2 | Generated 2024-02-25 | Home |