For i = 100 To 400 Step 100
Dim t As TreeItem
t.Initialize("",i)
TreeView1.Root.Children.Add(t)
Next
Dim tI As TreeItem = TreeView1.Root.Children.Get(0)
For i = 10 To 40 Step 10
Dim t As TreeItem
t.Initialize("",i)
tI.Children.Add(t)
Next
For i = 60 To 90 Step 10
Dim t As TreeItem
t.Initialize("",i)
tI.Children.Add(t)
Next
Dim t50 As TreeItem
t50.Initialize("",50)
tI.Children.InsertAt(4,t50)
That gets me very close to what I was trying to achive.
I am trying to get the value of a child item.
When I use log("value = "&treeItem.children.get(i))
I get.. value = TreeItem [ value: 110 ] instead of 'value = 110'
Is there any way of getting the value only?