Vcl.DBGrids.TCustomDBGrid.SelectedField

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelectedField: TField read GetSelectedField write SetSelectedField;

C++

__property Data::Db::TField* SelectedField = {read=GetSelectedField, write=SetSelectedField};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

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

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.

See Also