RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.SelectedField Property

Specifies the field component for the currently selected cell in the grid.

Pascal
property SelectedField: TField;
C++
__property TField SelectedField;

Set SelectedField to move focus to a particular field in the grid. Read SelectedField to obtain access to the field component for the currently selected cell. If there is not currently selected cell, SelectedField is nil (Delphi) or NULL (C++). For example, when an entire row is selected, SelectedField is nil or NULL. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!