Maximize Form

D

doodle

Windows xp
Access 97

Greetings All.

I have two forms. Form #1 I would like to have maximized at all times.
Form #2 opens (filtered) from a command button on Form#1. Form #2 needs
to be in the restored view at all times.

Load event for form #1 = DoCmd.Maximize
Load event for form #2 = DoCmd.Restore

When user opens form #2 from form #1, both forms are restored, so when
the user closes form#2, form#1 appears as restored, instead of
maximized.

I have tried using the close event on form#2, the got focus and current
events on form#1 and cannot figure out how to keep form#1 maximized.

Thanks in advance,

doodle
 
G

Graham Mandeno

Hi Doodle

You can either use the Activate and Deactivate events of Form #1 to
Maximize/Restore, or if you prefer, you could set the PopUp property on Form
#2. This will make it float over the top of Form #1, but not be maximized.
 

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