Forms Not Staying Maximized

  • Thread starter Thread starter Gary S
  • Start date Start date
G

Gary S

Hi,

I have inherited a 2003 Access database. One small problem.
I want whatever the current form is to be maximized. But what
happens, for example, is I open a form, and I have added to
the on oepn event cod to maximize it. Well this form has a button
that takes you to another form. When this other form is closed
and the original maximized form has the focus, it is no longer
maximized. There is no code on the form that is causing it.
Any ideas on things to check?
 
Gary S said:
Hi,

I have inherited a 2003 Access database. One small problem.
I want whatever the current form is to be maximized. But what
happens, for example, is I open a form, and I have added to
the on oepn event cod to maximize it. Well this form has a button
that takes you to another form. When this other form is closed
and the original maximized form has the focus, it is no longer
maximized. There is no code on the form that is causing it.
Any ideas on things to check?


Is the other form (opened second) maximized? If not, it probably has code
or a macro to restore it. The Maximized or Restored state applies to all
forms (except popup forms).

If you want, you can put code in the first form's Activate event to maximize
it whenever it becomes the active form, such as when the second form is
closed.
 
Back
Top