[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.SelectedColumn

Represents the currently selected column in the grid control.

Declaration

Source position: dbgrids.pas line 563

public property TCustomDBGrid.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.


Version 3.2 Generated 2024-02-25 Home