VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > BottomRow Property |
Returns the zero-based index of the last row displayed in the control.
val& = [form!]VSFlexGrid.BottomRow
The bottom row returned may be only partially visible.
You cannot set this property. To scroll the contents of the control through code, set the TopRow and LeftCol properties instead. To ensure that a given cell is visible, use the ShowCell method.
The following line prints the number of the bottom most row currently visible:
Debug.Print fg.BottomRow
Long