KeyDownEdit Event

Fired when the user presses a key in cell-editing mode.

Syntax

Public Event KeyDownEdit As KeyEditEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Row Row number of cell.
Col Column number of cell.
KeyData Gets the key code for the key that was pressed, combined with modifier flags that indicate which combination of CTRL, SHIFT, and ALT keys were pressed at the same time.

Remarks

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 EditSelectionStart, EditSelectionLength, and EditSelectedText properties.

See Also

KeyPressEdit Event, CellValueChanging Event, KeyUpEdit Event