Right Now I am able to load the tree and have the first node (root Node) select automatically, but I want to have it detect if a child of that root node exists and if it does I want to auto select and expand that child node.
Not sure how to get this done?
I expected it to be something like:
If tree.Nodes(0).ChildNode.Count > 0 then
tree.Nodes(0).ChildNode(0).Selected = True
End If
Not sure how to get this done?
I expected it to be something like:
If tree.Nodes(0).ChildNode.Count > 0 then
tree.Nodes(0).ChildNode(0).Selected = True
End If