Thank you Kimiraikkonen, I was able to code and works great according to
your tip. Again, I appreicate the help.
Cheers
"kimiraikko nen" <ki************ *@gmail.comwrot e in message
news:b8******** *************** ***********@q35 g2000hsg.google groups.com...
On Oct 14, 7:55 am, "CAM" <alex_marti...@ ca.rr.comwrote:
Hello,
I created a Treeview which has several roots with child nodes. What I am
trying to do is go to a form when the user press the third root and the
first child. How do I code that? Any tips will be appreciated. Thank you
in advance.
Cheers
Assuming your child node is located under a root node, you can
directly determine when child node is selected in TreeView's
AfterSelect event:
Private Sub TreeView1_After Select(ByVal sender As System.Object, _
ByVal e As System.Windows. Forms.TreeViewE ventArgs) _
Handles TreeView1.After Select
If e.Node.Name = "child_node_nam e" Then
<form_name>.Sho w()
End If
End Sub
HTH,
Onur Güzel