DesignIntf.IDesigner60.GetObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

function GetObject(const Name: string): TPersistent;

C++

virtual System::Classes::TPersistent* __fastcall GetObject(const System::UnicodeString Name) = 0 ;

Description

Returns the persistent object with the name passed as a parameter.

Call GetObject to access a persistent object given its name. This is useful when working with components that include constituent objects that are not components, such as the TStatusPanel objects that TStatusBar uses.

To obtain the name of a persistent object, use the GetObjectName method.

See Also