DesignIntf.IDesigner60.GetObjectNames
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: DesignIntf.pas DesignIntf.hpp
| |
Unit: DesignIntf | |
Parent: IDesigner60 |
Delphi
procedure GetObjectNames(TypeData: PTypeData; Proc: TGetStrProc);
C++
virtual void __fastcall GetObjectNames(System::Typinfo::PTypeData TypeData, System::Classes::TGetStrProc Proc) = 0 ;
Description
Executes a callback for every object that can be assigned a property of a specified type.
Use GetObjectNames to call the procedure specified by the Proc parameter for every persistent object that can be assigned a property that matches the TypeData parameter. For each object, Proc is called with its S parameter set to the name of the object. This parameter can be used to obtain a reference to the object by calling the GetObject method.
Note: GetObjectNames calls Proc for components in units that are in the uses clause of the current root object's unit (Delphi) or included by that unit (C++), as well as the entity that is the value of Root.