BottomRow Property

Returns the zero-based index of the last row displayed in the control.

Syntax

val& = [form!]VSFlexGrid.BottomRow

Remarks

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

Data Type

Long

See Also

VSFlexGrid Control