Skip to content

TComponent.ComponentIndex

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

Declaration

Source position: classesh.inc line 2139

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
Integer A signed 16-bits integer
ComponentCount Count of owned components
Components Indexed list (zero-based) of all owned components.
Owner Owner of this component.