Resizing forms

K

KP

In several cases I have a form which opens maximized. On this form is a
command button which opens a second form. I want the second form to open to a
specific size, not maximized. Once the second form has been opened and closed
it will open at the resized settings.

I have tried using an event procedure with the DoCmd.Movesize and setting
the size I want but the form will initially open maximized. I've also tried a
macro with the MoveSize command with the same result. Varying the Auto Center
and Auto Resize properties on the form have no effect. Any thoughts would be
appreciated.

Thanks, Keith
 
A

Al Camp

KP,
Go into design mode for the 2nd form, and make it a PopUp=Yes. That will allow you to
make form2 any size, but not affect the other maximized forms.
 
K

KP

Al,
Thanks for the quick reply and info. I knew it should be an easy one but
overlooked it. With my simple mind though, I don't understand why you have to
even make it
a PopUp, but I'll live with it.
Keith
 

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