M
Martureo Bob
I have a modal popup form with an OnOpen event.
In the OnOpen event code, I perform some setup of various headings on the
form, and end with the following:
DoCmd.Maximize
This seems to work fine --- the form opens maximized.
However, if I put a MsgBox in the OnOpen event **prior to** maximizing the
form, the form does not maximize. It opens in a "restored" state (a smaller
form) that the user must then maximize by clicking the maximize button at
the top of the form.
Why would inclusion of a MsgBox prior to the Maximize cause the Maximize to
not function? It seems like it's being ignored!
Bob.
In the OnOpen event code, I perform some setup of various headings on the
form, and end with the following:
DoCmd.Maximize
This seems to work fine --- the form opens maximized.
However, if I put a MsgBox in the OnOpen event **prior to** maximizing the
form, the form does not maximize. It opens in a "restored" state (a smaller
form) that the user must then maximize by clicking the maximize button at
the top of the form.
Why would inclusion of a MsgBox prior to the Maximize cause the Maximize to
not function? It seems like it's being ignored!
Bob.