[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Represents the currently selected column in the grid control.
Source position: dbgrids.pas line 564
public property TCustomDBGrid.SelectedColumn : TColumn |
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 .
GetCurrentColumn is the read access specifier for the property value, and returns the TColumn instance in Columns at the position specified in SelectedIndex.