ChildControlCount Property

Applies to TestComplete 15.69, last modified on November 13, 2024

Returns the total number of child components of the given component.

Declaration

componentObj.ChildControlCount
Read-Only Property Integer
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TBevel, TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TImage, TObjectPicker, TPanel, TRectObjectPicker, TShape

Description

The PropertyCount property returns the total number of child components of the given component. You can use this property along with ChildControl to iterate through child components.

Property Value

An integer value that specifies the total number of child components.

See Also

ChildControl Property
ChildControlByName Property

Highlight search results