Skip to content

TComponent.ComponentIndex

Index of component in it's owner's list.

Declaration

Source position: classesh.inc line 2726

public property ComponentIndex: Integer;

Description

ComponentIndex is the index of the current component in its owner's list of components. If the component has no owner, the value of this property is -1.

See also

Name Description
Components Indexed list (zero-based) of all owned components.
ComponentCount Count of owned components.
Owner Owner of this component.