Child
Child
Get index of first child item
Read-only Runtime-only Integer property
Applies to: TreeItem
Introduced in KCML version 5.02
Child
Get first child item as an object
Read-only Runtime-only OBJECT reference property
Applies to: TreeItem
Introduced in KCML version 5.03
This property returns the first child for a given tree node. It can be used in conjunction with either an object reference to an existing tree node or the Item() method and an Index. It returns an index which will be zero if there are no children.
ChildIndex = .treeControl1.Item(ItemIndex).Child
The Child property can also be used to return an object.
TreeItem
This property returns an object reference to the first child for a given tree node. It can be used in conjunction with either an object reference to an existing tree node or the Item() method and an Index. It returns an object which will be NULL if there are no children.
OBJECT c = t.Child