VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Events > AfterSelChange Event |
Fired after the selected range (RowSel, ColSel) changes.
Private Sub VSFlexGrid_AfterSelChange( ByVal OldRowSel As Long, ByVal OldColSel As Long, ByVal NewRowSel As Long, ByVal NewCol As Long)
This event is fired after the RowSel or ColSel properties change, either as a result of user actions (mouse or keyboard) or through code.
This event is useful if you want to display additional information about the current selection. To perform validation or prevent certain cells from being selected, use the BeforeRowColChange and BeforeSelChange events instead.