Condividi tramite


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.

See Also

ActivateCell Method | BeforeRowColChange Event | When Event

Applies To: Grid Control