DesignIntf.IDesigner60.GetObjectName
Delphi
function GetObjectName(Instance: TPersistent): string;
C++
virtual System::UnicodeString __fastcall GetObjectName(System::Classes::TPersistent* Instance) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner60 |
Description
Returns the name of the object passed as its parameter.
Call GetObjectName to obtain the name of a persistent object. This is the inverse of GetObject. GetObjectName is useful when working with components that include constituent objects that are not components, such as the TStatusPanel objects that TStatusBar uses.