Sign in Join
FPDoc Onlineexperiment

TControl.DialogChar function

Member of TControlprotectedIn unit Controls

Performs actions needed to handle an accelerator key for the control.

Declaration

pascal
function DialogChar(var Message: TLMKey): Boolean; virtual

Arguments

Message

TLMKey instance with the character code examined in the method.

Function result

True if the accelerator key in Message is handled by the control.

Description

Always return False in TControl. The method is overridden in descendent classes to perform actions needed to handle an accelerator character in the Message argument.

This method is called even if the control is disabled or hidden. Provided for Delphi VCL compatibility.

See also

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