Parent
Parent
Tab control on which this control appears
Read-only Runtime-only Integer property
Applies to: Generic
Parent
Tab control on which this control appears
Read-only Runtime-only OBJECT reference property
Applies to: Generic
Parent
Get parent index of this item
Read-only Runtime-only Integer property
Applies to: TreeItem
Introduced in KCML version 5.02
Parent
Get parent object of this item
Read-only Runtime-only OBJECT reference property
Applies to: TreeItem
Introduced in KCML version 5.03
This property returns the index of the parent node of a given tree node. The property can be used in conjunction with either an object reference to an existing tree node or the Item() method and the existing node's index. It returns an index which will be zero if the current node is the root node. The property allows a program to move up a given level in the tree.
ParentIndex = .treeControl1.Item(ChildIndex).Parent
The Level property can be used to find the current level in a tree. The Parent property can also be used to return an object.
TreeItem
This property returns an object reference for the parent node of a given tree node. It can be applied to 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 the current node is the root node. The property allows a program to move up a given level in the tree.
OBJECT p = c.Parent
The Level property can be used to find the current level in a tree.