ColPos Property

Returns the left (x) coordinate of a column relative to the edge of the control, in twips.

Syntax

val& = [form!]VSFlexGrid.ColPos(Col As Long)

Remarks

This property is similar to the CellLeft property, except ColPos applies to an arbitrary column and will not cause the control to scroll. The CellLeft property applies to the current selection and reading it will make the current cell visible, scrolling the contents of the control if necessary.

Data Type

Long

See Also

VSFlexGrid Control