RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TField.DisplayLabel Property

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

Pascal
property DisplayLabel: WideString;
C++
__property BSTR DisplayLabel;

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. 

 

DisplayName 

FieldName 

TDBGrid 

Creating a Customized Grid

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