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?
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?