VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > ColPos Property |
Returns the left (x) coordinate of a column relative to the edge of the control, in twips.
val& = [form!]VSFlexGrid.ColPos(Col As Long)
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.
Long