[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the display name for the collection item
Source position: dbgrids.pas line 281
protected function TColumn.GetDisplayName: string; override; |
Display name for the collection item
GetDisplayName is an overridden String function used to get the display name for the column. The display name is used at design-time to get the name for the collection item, and at run-time when a dataset has not been assigned or opened for the definition.
The value in FieldName is used as the return value for the method, when it has been assigned in the column. Otherwise, the inheriited GetDisplayName method is called to get the return value.
Use FieldName to set the name of the Field used for the column.
|
Name of the Field with data for the column |
|
#rtl.Classes.TCollectionItem.GetDisplayName |
lazarus-ccr.sourceforge.net |