ChildControlByName Property

Applies to TestComplete 15.62, last modified on March 19, 2024

Returns the child component by its name.

Declaration

componentObj.ChildControlByName(Name)
Read-Only Property A user form component object
Parameters
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

Description

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

Parameters

The property has the following parameter:

Name

The name of the desired child component.

Property Value

A child component with the specfied name.

Remarks

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