Fired when the user presses a key in cell-editing mode.
Public Event KeyDownEdit(ByVal Row As Long, ByVal Col As Long, ByRef KeyCode As Integer, ByRef Shift As Integer)
Grid Object
The following parameters are available:
| Parameter | Description |
| Row | Row number of cell. |
| Col | Column number of cell. |
| KeyCode | Indicates the physical key pressed. |
| Shift | Indicates the state of the SHIFT, CTRL, and ALT keys. |
This event is similar to the standard KeyDown event, except it is fired while the grid is in edit mode.
While editing with a editor, you may set or retrieve the contents of the editor using the EditText property. You may manipulate the contents of the editor using the EditSelStart, EditSelLength, and EditSelText properties.