|Visual FoxPro 9.0 SP2|
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.
PROCEDURE Grid.BeforeRowColChange LPARAMETERS nColIndex
Returns the index of the column that is active before the row or column change.
Applies To: Grid Control
BeforeRowColChange is triggered interactively using the mouse or keyboard or programmatically, such as calling the ActivateCell method.
You can query the RowColChange property in this event to determine the type of change that triggered the event.
Comment or report problem with topic