Computer Hope
Software => Computer programming => Topic started by: zaryk on April 02, 2008, 09:20:51 AM
-
I have created a tree view, I wont get into details about it, but I would like, when the program is opened, to have the tree view minus/plus to start out as showing minus. In other words, the tree view expanded at startup. Can anyone help me with this?
-
I guess you will put your code in the form load event. I did find two treeview methods which may be helpful: ExpandAll and CollapseAll.
For more information see Treeview (http://msdn2.microsoft.com/en-us/library/system.windows.forms.treeview.treeview(VS.71).aspx)
Good luck. 8)
-
cool thanks.