Resizing forms

G

Guest

Hi.

I have several forms that I want to always display maximized. I have a
button on one form that opens another. Whenever the other form is opened,
then closed, the background form resizes itself to the windowed size, even
though the form it's opening gets maximized.

I put the docmd.maximize line in the OnOpen and OnActivate events of all the
forms. This works, except that you get that ugly flashing as the forms grow
and resize themselves unnecessarily. Turning the echo property on and off
doesn't resolve the problem. The users still see the forms growing and
shrinking. Why do they resize even if they were all maximized?

Any advice? Thx!
 
F

fredg

Hi.

I have several forms that I want to always display maximized. I have a
button on one form that opens another. Whenever the other form is opened,
then closed, the background form resizes itself to the windowed size, even
though the form it's opening gets maximized.

I put the docmd.maximize line in the OnOpen and OnActivate events of all the
forms. This works, except that you get that ugly flashing as the forms grow
and resize themselves unnecessarily. Turning the echo property on and off
doesn't resolve the problem. The users still see the forms growing and
shrinking. Why do they resize even if they were all maximized?

Any advice? Thx!

Check the events on the forms.
Do any of them have DoCmd.Restore?
That will do it.
 

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