Show: Delphi
C++
Display Preferences
DesignEditors.TPropertyEditor.GetComponent
From XE2 API Documentation
Delphi
function GetComponent(Index: Integer): TPersistent;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | DesignEditors.pas | 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.