Home > Language Reference > Classes > Grid

Col Property

Column index of the currently selected grid item

Syntax

Public Property Get Col() As Integer

Remarks

Return the column index of the currently selected Grid item.
The iCol parameter is in the range 0 to the number of columns -1 (see Columns).

If no element is selected, this property returns -1. To select a Grid item or to delete the selection, use SelectItem method. To highligth a cell without select the relevant item, use HighLight method.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-