|
-
Jan 14th, 2000, 01:34 AM
#1
Thread Starter
Fanatic Member
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)
-
Jan 14th, 2000, 03:21 AM
#2
Frenzied Member
Can you issue a node clear, as in:
form.tree.nodes.clear
when you close the form?
-
Jan 14th, 2000, 12:48 PM
#3
Junior Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|