ChildControlByName Property

Applies to TestComplete 15.65, last modified on June 26, 2024

Returns the child component by its name.


Read-Only Property A user form component object
componentObj     One of the user forms components listed in the Applies To section  
Name [in] Required String

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


Use ChildControlByName to obtain the child component specified by its name.


The property has the following parameter:


The name of the desired child component.

Property Value

A child component with the specfied name.


If you use Python or DelphiScript, you should enclose the parameter of the ChildControlByName property in square brackets: ChildControlByName[Name].

See Also

ChildControl Property
ChildControlCount Property

Highlight search results