Returns the child component by its index.
Declaration
Read-Only Property | A user form component object |
componentObj | One of the user forms components listed in the Applies To section | |||
Index | [in] | Required | Integer |
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 ChildControl
to obtain the child component specified by its index. The total number of the component’s children is specified by the ChildControlCount
property.
You can also obtain the child component by its name, using the ChildControlByName
property.
Parameters
The property has the following parameter:
Index
ChildControlCount
- 1.Property Value
A child component which has the specified index.
Remarks
If you use Python or DelphiScript, you should enclose the parameter of the ChildControl
property in square brackets: ChildControl[Index]
.