Language Reference Guide : System Classes : TreeNode Class : Level Attribute
 
Share this page          
Level Attribute
Data Type: integer
4GL Access: R
The Level attribute is 0 for the root node and its siblings. Otherwise, it indicates the number of levels below those nodes; that is, children have level 1, grandchildren level 2, and so on.