You are here: Skip Navigation Links » Files
Tree Single Expand

Sometimes, in complicated trees there is a need to expand only single branch at a time. Attached simple procedure illustrates how this can be achieved.

All you have to do is to call TreeExpandSingle TreeView1, Node procedure in the TreeView1_Expand(ByVal Node As MSComctlLib.Node) event ... voila - here it is.