Applies the specified key press to the control.
Source position: grids.pas line 1121
protected procedure TCustomGrid.KeyPress( |
var Key: Char |
); override; |
Key |
|
Key press character examined in the method. |
KeyPress is a method used to apply the character in Key to the grid control. KeyPress is overridden to ensure that a key which originated from the grid control is applied properly to the cell Editor (when needed). It calls the inherited method on entry.
The following key press values in Key are handled in the method:
When Key is handled in the method, it is set to #0 prior to exit.
|
Signals the OnKeyPress event handler (when assigned). |