Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.SelectedColumn property

Member of TCustomDBGridpublicIn unit DBGrids

Represents the currently selected column in the grid control.

Declaration

pascal
property SelectedColumn: TColumn read GetCurrentColumn;

Description

SelectedColumn is a read-only TColumn property that represents the currently selected column in the grid control. SelectedColumn contains a value only when the Columns collection has been enabled (or contains visible columns) for the control. Otherwise, SelectedColumn returns the value Nil.

GetCurrentColumn is the read access specifier for the property value, and returns the TColumn instance in Columns at the position specified in SelectedIndex.

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