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