I iccsi Mar 31, 2009 #1 I have a tree view on the form and would like it collapse the tree while form open. Any suggestions are great appreciated,
I have a tree view on the form and would like it collapse the tree while form open. Any suggestions are great appreciated,
S Stefan Hoffmann Mar 31, 2009 #2 hi, I have a tree view on the form and would like it collapse the tree while form open. Click to expand... Take a closer look at a single node... mfG --> stefan <--
hi, I have a tree view on the form and would like it collapse the tree while form open. Click to expand... Take a closer look at a single node... mfG --> stefan <--
M Maurice Mar 31, 2009 #3 You mean that the tree is collapsed when you open the form? Try something like: place code below in the open form event: dim i as integer For i = 1 To treeview.Nodes.Count treeview.Nodes(i).Expanded = True Next replace the treeview with your own treeview name hth
You mean that the tree is collapsed when you open the form? Try something like: place code below in the open form event: dim i as integer For i = 1 To treeview.Nodes.Count treeview.Nodes(i).Expanded = True Next replace the treeview with your own treeview name hth