Applies an accelerator key for a column in the grid.
Source position: grids.pas line 998
protected function TCustomGrid.DialogChar( |
var Message: TLMKey |
):Boolean; override; |
Message |
|
Lazarus messaged examined in the method. |
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 in the grid. |
|
|
Number of columns in the grid. |
|
|
Performs actions needed when a mouse click occurs in a header for a grid column. |
|
|
Handles the specified key in Message as an accelerator or shortcut key. |