Don't maximize other forms

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

I have a switchboadr that calls other forms to open. A few of these forms
open and maximize to fill the screen. When I close the form and the focus
returns to my switchboard, it also maximizes. This looks awful since the
form was not designed to be nearly that large.

How can I prevent this?

Is there something I can put in the "on got fuus" to prevent this?

thanks,

Rick
 
Rick said:
I have a switchboadr that calls other forms to open. A few of these forms
open and maximize to fill the screen. When I close the form and the focus
returns to my switchboard, it also maximizes. This looks awful since the
form was not designed to be nearly that large.

How can I prevent this?


Several ways to deal with this effect. The easiest is to
use Albert Kallal's idea of setting the switchboard's
MinMaxButtons property to either Min Enabled or None.

Another way is to add some code to the switchboard's
Activate event:

DoCmd.SelectObject acForm, "HolidaysSub"
DoCmd.Restore
 

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

Back
Top