Vcl.DBGrids.TColumnTitle.DefaultCaption
Delphi
function DefaultCaption: string;
C++
System::UnicodeString __fastcall DefaultCaption(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TColumnTitle |
Description
Returns the default caption of the column title.
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.