Retrieves the current level of the selected node in the data tree.
Syntax:
TreeLevel()
Parameters:
None
Returns:
The level of the selected node.
See also:
How Do I Automatically Open the Tree with All Its Nodes or Only Several Nodes Expanded?
The Online and Rich Client Samples projects (program TR16 and RTR16)