Data.DB.TField.DisplayLabel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisplayLabel: string read GetDisplayLabel write SetDisplayLabel stored IsDisplayLabelStored;

C++

__property System::UnicodeString DisplayLabel = {read=GetDisplayLabel, write=SetDisplayLabel, stored=IsDisplayLabelStored};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Contains the text to display in the corresponding column heading of a data grid.

Use DisplayLabel to assign column headings to a data grid. The column headings of the data grid use the DisplayName property of the field whose value they represent. Setting DisplayLabel changes the read-only DisplayName property from FieldName to the string specified as DisplayLabel.

See Also