[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TComponent.ComponentIndex

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

Declaration

Source position: classesh.inc line 1356

public property TComponent.ComponentIndex: Integer
  read GetComponentIndex
  write SetComponentIndex;

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

TComponent.Components

  

Indexed list (zero-based) of all owned components.

TComponent.ComponentCount

  

Count of owned components

TComponent.Owner

  

Owner of this component.