View Single Post
  #1 (permalink)  
Old 08-12-2008, 9:30 PM
Lek Lek is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Aug 2008
Age: 23
Posts: 4
Reputation: 0
Lek is on a distinguished programming path ahead
Default how to select child node in Treeview

Let say i was created a treeview and that include some parent nodes.Each parent nodes also include some child nodes.So , i want when me double click the treeview component (Private sub..... Handles tv.DoubleClick).It will do something but the problem how i define which child node i selected?

Example :

IF e.node.index = 1 Then

do something

End If

but the e.node.index is getting the parent selected node index only ..how to get the child selected node index when i choose child node...
Reply With Quote