KeyPressEdit Event

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

Syntax

Public Event KeyPressEdit As KeyPressEditEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Row Row number of cell.
Col Column number of cell.
KeyChar Gets the character corresponding to the key pressed.

Remarks

This event is similar to the standard KeyPress 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

KeyDownEdit Event, CellValueChanging Event, KeyUpEdit Event