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: string;
C++
__property AnsiString 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. 

 

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