ComponentOne VSFlexGrid 8.0
SelChange Event

Fired after the selected range (RowSel, ColSel) changes.

Syntax

Private Sub VSFlexGrid_SelChange()

Remarks

SelChange is fired after the Row, Col, RowSel or ColSel properties change, either as a result of user actions (mouse or keyboard) or through code. This event is also fired while the user extends the selection with the mouse.

The example below prints the coordinates of the current selection to the debug window when the selection changes:

    Private Sub fg_SelChange()

   

     Debug.Print fg.Row & ", " & fg.Col & ", " & fg.RowSel & ", " & fg.ColSel

   

  End Sub

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback