TApplication.OnShortcut property
Event handler signalled to determine if a keystroke message is a shortcut key in the application.
Declaration
property OnShortcut: TShortCutEvent read FOnShortcut write FOnShortcut;Description
OnShortcut is a
TShortcutEvent property with the event
handler signalled to determine if a keystroke message is a shortcut (or
accelerator) key in the application. It is signalled (when assigned) from the
IsShortcut method, and occurs before the OnShortcut event handlers
for other forms are checked.
This event handler can interpret keystrokes as shortcuts, before the normal
target handles the key. The event handler can set its Handled
argument to True when the Msg argument contains a shortcut
keystroke specific to the application. This prevents the OnShortcut event
handlers in the application forms from being notified.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
