DesignIntf.IDesignObject.GetComponentIndex
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: DesignIntf.pas DesignIntf.hpp
| |
| Unit: DesignIntf | |
| Parent: IDesignObject | |
Delphi
function GetComponentIndex: Integer;
C++
virtual int __fastcall GetComponentIndex() = 0 ;
Description
Returns the index of the design object if the design object is a component.
Use GetComponentIndex to obtain the position of the design object, if it is a component, from the collection where it is owned.
GetComponentIndex is the getter method for the ComponentIndex property.