DesignIntf.IDesignObject.GetComponentIndex
Delphi
function GetComponentIndex: Integer;
C++
virtual int __fastcall GetComponentIndex() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesignObject |
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.