G
Guest
In an effort to speed up the program I open main forms once and turn their
visibility off when navigating to other forms. However, if the user choses to
open a form related to the main form, I will leave the main form visible
behind the related one. Here is the problem. When I close the related form,
the main form becomes active, the band at the top turns bright blue, but the
Form_Activate event does not seem to execute; neither does the Form_GotFocus.
(I have put breakpoints on their End Sub lines). Even clicking on a text box
fails to kick them off. So I have two questions. Is there another event that
triggers when the form on top is closed and the one behind becomes "active"?
Should the answer to this be no, is there a way to execute code in the main
form from the code used to close the related form? Thanks.
visibility off when navigating to other forms. However, if the user choses to
open a form related to the main form, I will leave the main form visible
behind the related one. Here is the problem. When I close the related form,
the main form becomes active, the band at the top turns bright blue, but the
Form_Activate event does not seem to execute; neither does the Form_GotFocus.
(I have put breakpoints on their End Sub lines). Even clicking on a text box
fails to kick them off. So I have two questions. Is there another event that
triggers when the form on top is closed and the one behind becomes "active"?
Should the answer to this be no, is there a way to execute code in the main
form from the code used to close the related form? Thanks.