Sign in Join
FPDoc Onlineexperiment

TForm.OnShortCut property

Member of TFormpublishedIn unit Forms

Event handler signalled when a key is pressed, before further handling of the key.

Declaration

pascal
property OnShortCut:;

Description

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.

This description is the one of Forms.TCustomForm.OnShortcut.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.