AfterRowColChange Event
Occurs when the user moves to another row or column in the Grid, after the new cell gets the focus, and after the When event of the object in the new row or column. The AfterRowColChange event doesn't fire unless the When event of the object in the new row or column returns true (.T.).
PROCEDURE Grid.AfterRowColChange
LPARAMETERS nColIndex
Parameters
- nColIndex
Returns the index of the newly selected row or column.
Remarks
AfterRowColChange is triggered interactively by the mouse or keyboard, or programmatically, such as by calling the ActivateCell method.
Use this event to synchronize the two halves of a grid when the SplitBar property = .T., by adding This.Refresh.
You can query the RowColChange property in this event to determine the type of change that triggered the event.
See Also
ActivateCell Method | BeforeRowColChange Event | RowColChange Property | When Event | NODEFAULT Command
Applies To: Grid Control