I have a treeview control with 3 nodes, at 3 different levels and with one node at each level.
I am able to return the text or the key by looping through them like so.
For Each Node In ctlTree.Nodes
MsgBox Node.Text
MsgBox Node.Key
Next
Is there a way to return the text or key of the 1st, 2nd or 3rd node in this collection?
I am able to return the text or the key by looping through them like so.
For Each Node In ctlTree.Nodes
MsgBox Node.Text
MsgBox Node.Key
Next
Is there a way to return the text or key of the 1st, 2nd or 3rd node in this collection?