[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Applies an accelerator key for a column in the grid.
Source position: grids.pas line 1023
protected function TCustomGrid.DialogChar( |
var Message: TLMKey |
):Boolean; override; |
Message |
|
TLMKey message examined in the method. |
True if the character code in Message is found in a caption for a column on the grid.
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.
|
Definitions for the columns displayed the grid. |
|
|
Number of columns in the grid. |
|
|
Performs actions needed when a mouse click occurs in a fixed header for a grid column or row. |
|
|
Handles the specified key in Message as an accelerator or shortcut key. |
Version 4.0 | Generated 2025-05-03 | Home |