WinStudio
IWSFormComponent interface, tree objects
Returns an integer corresponding to the level of the currently selected node in a tree component.
object.TreeGetCurLevel( )
Part |
Description |
object | Required. A reference to a valid tree component object. |
The root level returns 0; a child of the root level returns 1; and so forth.
Dim currentNodeLevel as Integer = 0 currentNodeLevel = ThisForm.Components("tree1").TreeGetCurLevel()
TreeGetCurItemLevelProperty Method