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. 

 

Fields 

SelectedIndex 

Creating a Customized Grid 

Responding to User Actions at Runtime

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!