I have searched extensively and found no solution for vb6. Am using Visual basic 6 treeview control. I notice that when I click a node, the next time I click on a different node the action of the previous one that I had clicked still fires. I need to "RESET" the tree view such that every click event fires a new action. Thank you.
Auto 'DESELECT' a vb6 treeview node after it has been clicked
Collapse
X
-
You need tohandle the following events
[code=vb]
Private Sub tv1_Collapse(By Val Node As MSComctlLib.Nod e)
'Your code here
End Sub
Private Sub tv1_Expand(ByVa l Node As MSComctlLib.Nod e)
'Your code here
End Sub
Private Sub tv1_NodeClick(B yVal Node As MSComctlLib.Nod e)
'Your code here
End Sub
[/code]Comment
Comment