-
You can try to make it appear faster.
Code:
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Me.Visible = False
Refresh
Unload Me
End Sub
This way, the program will unload in the background (i think. I'm not gonna write a program with a 2000+ noded treeview control, just to test it ;) )
It's prolly NOT the best way, but it should work. Lemme know if it does
------------------
r0ach(tm)
-
Can you issue a node clear, as in:
form.tree.nodes.clear
when you close the form?
-
I have a tree view control on my form. It is populated with about 2 to 3 thousand nodes. When unloading the form, it appears that the tree view is clearing the items one at a time. This makes the unload event of the form very slow. Do you have any ideas on how this unloading can be made any faster?