Occurs when the user changes the active row or column, before the new cell gets the focus. It also occurs before the Valid event of the current object in the grid column and any rules in the database. Use NODEFAULT to prevent the active row and column in the grid from changing.
Syntax
PROCEDURE Grid.BeforeRowColChange
LPARAMETERS nColIndex
Parameters
nColIndex
Returns the index of the newly active row or column.
Remarks
BeforeRowColChange is triggered interactively using the mouse or keyboard or programmatically, such as calling the ActivateCell method.