TComponent.ComponentCount

Count of owned components

Declaration

Source position: classesh.inc line 2138

public Property
  ComponentCount : Integer;

Description

ComponentCount returns the number of components that the current component owns. It can be used to determine the valid index range in the Component array.

See also

Name Description
Integer A signed 16-bits integer
Components Indexed list (zero-based) of all owned components.
Owner Owner of this component.