Form Maximize

  • Thread starter mattc66 via AccessMonster.com
  • Start date
M

mattc66 via AccessMonster.com

Hi All,

When my main form is maximized and I click a button that opens another form
it opens maximized. How do I open the second form in its normal size?
 
S

Stuart McCall

mattc66 via AccessMonster.com said:
Hi All,

When my main form is maximized and I click a button that opens another
form
it opens maximized. How do I open the second form in its normal size?

Set the form's Popup property to Yes.
 
L

Linq Adams via AccessMonster.com

In the form being opened

Private Sub Form_Load()
DoCmd.Restore
End Sub
 
B

Burnsie

To piggyback on Linq Adams post, when you close the form you may want to put
the same code Docmd.Restore in the Close event. For instance, the form that
called this form is not maximized but you maximize this form. When you go
back to the form that called this form, that form is now maximized if you
don't restore when you close out.

Burnsie
 

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