AfterEdit Event

Fired after the control exits cell edit mode.

Syntax

Private Sub VSFlexGrid_AfterEdit( ByVal Row As Long,  ByVal Col As Long)

Remarks

This event is fired after the contents of a cell have been changed by the user. It is useful for performing actions such as re-sorting the data or calculating subtotals.

The AfterEdit event is not adequate for performing data validation, because it is fired after the changes have been applied to the control. To validate user-entered data, use the ValidateEdit event instead.

See Also

VSFlexGrid Control