Level

[property icon] Level

Get level of this item

Read-only Runtime-only Integer property

Applies to: TreeItem

Introduced in KCML version 5.03


>

Level

This property returns the level 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 integer which will be zero if the current node is the root node.

 lev = .treeControl1.Item(ChildIndex).Level

See also

TreeItem methods, properties and events.