Sign in Join
FPDoc Onlineexperiment

TShortCutEvent procedure type

In unit Forms

Type used for an OnShortcut event handler.

Declaration

pascal
TShortCutEvent = procedure(var Msg: TLMKey; var Handled: Boolean)
 of object

Arguments

Msg

The key event message.

Handled

Set Handled to True to prevent further processing of the key.

Description

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.

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