|
-
Nov 3rd, 1999, 10:14 PM
#1
Thread Starter
Addicted Member
I'm experienced with Access and I'm new to this aspect of VB: should I get used to HIDE or UNLOAD my forms?
Right now I am always .hide(ing) my forms. I noticed that when I "show" that form once again, the load event won't trigger. So I've put my code on the ACTIVATE event instead.
Could that way of working eventually bring me problems or slowdowns? If unloading a form and showing it back doesn't take much process for Vb, maybe I'd go that way. Also I thought that this way, the data controls on my form would automatically refresh when showing back the form.
I accept any comments! Thanks!
-
Nov 3rd, 1999, 10:28 PM
#2
Unload will erase your program from memory. If you just use Hide method, then your program will stay in a memory but in invisible state.
So, it will depend on what you're doing. If you're done with the form you better use Unload function, but if you need this form for some other reason then you better use Hide method.
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]
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
|