TColumn.GetDisplayName function
Gets the display name for the collection item.
Declaration
function GetDisplayName: string; overrideFunction result
Display name for the collection item.
Description
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 for the
column has not been assigned or opened.
The value in FieldName is used as the return value for the method, when it has been assigned in the column. Otherwise, the inherited GetDisplayName method is called to get the return value.
Use FieldName to set the name of the Field used for the column.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
