DesignIntf.IDesigner60.GetObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetObject(const Name: string): TPersistent;

C++

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

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesigner60

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