Forms Not Staying Maximized

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?
 
D

Dirk Goldgar

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top