RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TColumnTitle.DefaultCaption Method

Returns the default caption of the column title.

Pascal
function DefaultCaption: string;
C++
__fastcall AnsiString DefaultCaption();

DefaultCaption returns the DisplayLabel of the TField object associated with the column. If there is no dataset field associated with the column (that is, if the column's Field property is empty), it returns the column's FieldName. 

 

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