Datasnap.DBClient.TAggregate.GetDisplayName
Delphi
function GetDisplayName: string; override;
C++
virtual System::UnicodeString __fastcall GetDisplayName();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TAggregate |
Description
Specifies the name of the aggregate object as it appears in the Object Inspector.
GetDisplayName overrides the inherited method to provide more meaningful names for the aggregate when it appears in the object inspector. If the AggregateName property is set, GetDisplayName returns that. Otherwise, if the Expression property is set, it returns that. If all else fails, it calls the inherited method, which returns the class name with a number suffixed to ensure uniqueness.