-
form load/show
This is interesting... I have a form that is sometimes shown throughout my app. The Form_Load() event is only called the first time the form is shown (using frmSmallForm.show). However, I want certain code to be executed everytime the form is shown, and ther e is no Form_Show() event. How can I do this?
Thanks.
-
The reason why its only calling the form load event the first time is because you arent unloading your form properly.. you must just be doing a .hide.. you should use Unload me.. that way, the next time you do .show, it will trigger form_load
-mcd
-
Try the Form_Activate() event.
-
both seem to work. form_activate is probably speedier, but since there's notm uch being done, either will be fine for me.
thanks a lot!