DesignEditors.TInterfaceProperty.GetComponent
Delphi
function GetComponent(const AInterface: IInterface): TComponent;
C++
HIDESBASE System::Classes::TComponent* __fastcall GetComponent(const System::_di_IInterface AInterface);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TInterfaceProperty |
Description
Returns the specified object from the set of all objects currently being edited by the property editor.
DesignEditors.TInterfaceProperty.GetComponent inherits from DesignEditors.TPropertyEditor.GetComponent. All content below this line refers to DesignEditors.TPropertyEditor.GetComponent.
Returns the specified object from the set of all objects currently being edited by the property editor.
Call GetComponent to access any of the objects with a property currently being edited by the property editor. The Index parameter is used to specify individual objects in the internal list maintained by the property editor. Index should be a value between 0 and PropCount - 1, inclusive.
Use GetComponent to iterate over all objects currently being edited.