AfterRowColChange Event

Fired after the current cell changes to a different cell.

Syntax

Public Event AfterRowColChange As AfterRowColChangeEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
OldRow Row number of cell losing the focus.
OldCol Column number of cell losing the focus.
NewRow Row number of cell receiving the focus.
NewCol Column number of cell receiving the focus.

Remarks

This event is fired after the CurrentRowIndex or CurrentColIndex properties change, either as a result of user actions (mouse or keyboard) or through code.

This event is useful if you want to display additional information about the currently selected row, column, or cell. To perform validation or prevent certain cells from being selected, use the BeforeRowColChange and BeforeSelChange events instead.

See Also

BeforeRowColChange Event