ColPos

This property returns the distance in twips between the upper-left corner of the control and the upper-left corner of a specified column.

Syntax

object.ColPos(index)

Parameters

object
Object expression that evaluates to a Grid control.
index
Long. Number of the column. The value must be in the range of 0 to Cols property –1.

Remarks

The ColPos property is read-only at run time.