Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.SelectedIndex property

Member of TCustomDBGridpublicIn unit DBGrids

Ordinal position of the selected column in the grid control.

Declaration

pascal
property SelectedIndex: Integer read GetSelectedIndex write SetSelectedIndex;

Description

SelectedIndex is an Integer property that represents the ordinal position of the selected column in the grid control. The property value contains the result from ColumnIndexFromGridColumn when the Columns collection is enabled in the control. Otherwise, the value from FieldIndexFromGridColumn is used as the property value.

GetSelectedIndex is the read access specifier for the property value. SetSelectedIndex is the write access specifier for the property.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.