ACol Property

Returns the column number of the active cell in the Grid.  Read only. Available only at run time.


Syntax

object.ACol [= number ]

The syntax of the ACol Property has these parts:

PartDescription
objectA DGrid control.
number  The column number of the active cell.

Remarks

ACol always returns 0 for the first column in the grid and Cols.Count - 1 for the last.

Data Type

Long