CellTop Property

Returns the top (y) coordinate of the selected cell relative to the control, in twips. Also brings the cell into view, scrolling if necessary.

Syntax

val& = [form!]VSFlexGrid.CellTop

Remarks

The CellHeight, CellWidth, CellTop, and CellLeft property are useful for placing other controls over or near a specific cell. Whenever you read any of these properties, the control assumes that you want to work on the current cell and it automatically brings it into view, scrolling if necessary.

Data Type

Long

See Also

VSFlexGrid Control