[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the default caption used as the title for the grid column
Source position: dbgrids.pas line 252
protected function TColumnTitle.GetDefaultCaption: string; override; |
Default value used as the title for the column
GetDefaultCaption is an overridden String function in TColumnTitle which provides the default caption used as the title for a grid column.
If a Field has been created for the column, the value of its DisplayName property are used as the caption. If only the FieldName property is set, it is used as the caption. Otherwise, the inherited method is called to get the default caption for the column.
|
GetDefaultCaption - returns th e default caption for this column |
|
|
Implements a display column for the TDBGrid control |
|
#fcl.db.TField |
lazarus-ccr.sourceforge.net |