TCustomGrid.DialogChar function
Applies an accelerator key for a column in the grid.
Declaration
function DialogChar(var Message: TLMKey): Boolean; overrideArguments
Message | TLMKey message examined in the method. |
Function result
True if the character code in Message is found in a caption for a column on the grid.Description
DialogChar is an overridden
Boolean function used to
apply Lazarus messages with accelerator keys for columns in the grid. Message
contains the
TLMKey instance with the message examined in the
method. DialogChar examines each of the
Columns defined for the
grid to determine if the CharCode for the
Message is an
accelerator key appearing in the title for the column. When a match is found,
the
HeaderClick method is called to activate the column.
The return value contains the result from the inherited DialogChar
method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
