TCustomDrawGrid.Col property
Column index for the selected grid cell.
Declaration
property Col:;Description
Col is an Integer which holds the column index for the current
cell or grid cursor. The current grid column can be changed programmatically
by setting a new value in this property.
Setting a new value for the property causes the limits for the column index to be checked when AllowOutboundEvents is set to False. An exception is raised in the CheckLimitsWithError method when the property value is not a valid column index for the grid control.
MoveExtend is called to move the selection to the cell at the coordinates in Row and Col. The cell editor is also retrieved (when available) and is displayed. The Click method is called to signal the OnClick event handler (when assigned) if the cell is not already selected or displaying a cell editor.
This description is the one of Grids.TCustomGrid.Col.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
