Handles key down events for the grid control.
Source position: grids.pas line 1406
protected procedure TCustomDrawGrid.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Key code examined in the method. |
Shift |
|
Shift / Alt / Ctrl modifier for the key code. |
KeyDown is an overridden method in TCustomDrawGrid, and calls the inherited method on entry. KeyDown ensures that the Space (VK_SPACE) key code is properly applied to the control for a cell using the CheckBox button style.
Called from EditorKeyDown when key down events are enabled in the EditorOptions for the control.
|
Handles key down events for the grid control. |
|
|
Implements the OnKeyDown event handler for the cell editor. |
|
|
The option flags sent to the Editor control in the grid. |