D
David Webb
Hi,
I have code in the Form_Activate event of my application and as the
user needs to switch between many forms, I simply hide them when the
user needs to move to another form. At present, I have a global
boolean called gbExitNow and set this to true and test for its
condition in Form_Activate, in order to bypass the code in
Form_Activate when the user switches to another form.
I'm sure there is a more efficient or programatically correct way of
doing this and was wondering if someone can please provide an
alternative method where I can bypass the Form Activate at certain
times. E.g. when the user selects "Save & Exit" the save routine is
performed, the form_activate is executed before the form is hidden.
Thanks in advance for any assistance.
Kind Regards,
David.
I have code in the Form_Activate event of my application and as the
user needs to switch between many forms, I simply hide them when the
user needs to move to another form. At present, I have a global
boolean called gbExitNow and set this to true and test for its
condition in Form_Activate, in order to bypass the code in
Form_Activate when the user switches to another form.
I'm sure there is a more efficient or programatically correct way of
doing this and was wondering if someone can please provide an
alternative method where I can bypass the Form Activate at certain
times. E.g. when the user selects "Save & Exit" the save routine is
performed, the form_activate is executed before the form is hidden.
Thanks in advance for any assistance.
Kind Regards,
David.