Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One form maximized but others not?

Status
Not open for further replies.

lameid

Programmer
Jan 31, 2001
4,207
US
I have an application where a form is maximized and then other forms are intended to be opened not maximized.

This works with or with out tabs if using the acDialog Window state to open forms (docmd.openform). However, doing this means the first form's code is running and I can't use the immediate window or othwise set breakpoints in the module while the second form is open. This irritates me. Also there are a number of global variables set so stopping the code creates problems too.

So I switched the Window state to acWindowNormal. Now since the first form is maximized the new form is maximized. Without using the acdialog, it also has to be set to use overlapping windows and not tabs to not use everything maximized. That said, running docmd.restore, restores both the first form and the second form.
This is undesirable as the first form should stay maximized.

Does anyone have stones to turnover or am I stuck with the acDialog window state?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top