DesignEditors.TPropertyEditor.GetComponent
Delphi
function GetComponent(Index: Integer): TPersistent;
C++
System::Classes::TPersistent* __fastcall GetComponent(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TPropertyEditor |
Description
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.