[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.OnShortcut

Handler called when a key is pressed, before further handling of the key.

Declaration

Source position: forms.pp line 716

public property TCustomForm.OnShortcut : TShortCutEvent
  read FOnShortcut
  write FOnShortcut;

Description

The handler can interpret the key as an shortcut and act accordingly.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.