Specifies the total number of columns in the Grid Control. This property is read-only.
Syntax
object.Col [= Long]
Parameters
The Col property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Long |
The column number of the currently selected cell in the Grid Control. |
Remarks
Use this Property with the Rows Property to determine the total number of columns and rows in a grid.