ChildByIndex - cObject¶
Include: Built in; no package required.
Returns a direct child object by position.
Type: Function
Return data type: Handle
Parameters¶
| Name | Type | Description |
|---|---|---|
| iIndex | Integer | Zero-based child index. |
Syntax¶
Function ChildByIndex Integer iIndex Returns Handle
Call¶
Get ChildByIndex of oMain 0 to hoChild
Description¶
ChildByIndex returns the direct child at the zero-based index. An index below zero or greater than or equal to Child_Count raises a DataFlex error.