All forms Maximized, except Swithchboard

  • Thread starter Thread starter Bradley C. Hammerstrom
  • Start date Start date
B

Bradley C. Hammerstrom

A2K

Still looking for stratagies on how to have the 'swithchboard' (frmHomePage)
be the only form that is not maximized.

Scenario: I want the user to launch the mdb; frmHomePage opens
(Tools\Startup\Display Form) in the non-maximized state; the user clicks a
command button on the switchboard or uses a custom menu to open other forms
that are always displayed maximized; the user can return to the swichboard
at any time while the other forms are still loaded and view the frmHomePage
in the non-maximized state; the user then opens another maximized form, and
so on. . .Ideas?

Brad H.
 
There is two settings on the form you can use.

#1) Simply remove the minimize buttons (set max/min buttons setting to
none). Since now there is no min, or max buttons for the form, then it CAN
NOT inherent the settings of other forms it opens. Hence, you are free to
put a docmd.Maximize in the on-open event of those forms it calls. When you
min those forms back down to the switchboard, it will NOT be maxed, since
there is no min/max buttons!

#2) Simply make the switchboard a dialog form. (set the border style =
Dialog). Again, since a dialog form has no min/max buttons, then again the
form does NOT inherit the maximized setting of forms that it calls.


So, either way, the above options simply removes the min/max buttons from
the boarder, and thus you don't inherit the forms that it calls. Thus, the
majority of my "report" prompt forms are set this way, as I naturally max
all my reports in the on-open event. However, I don't have to worry about
the max report effecting any other part of my application, since I made the
report prompt form both model, and also remove the min/max buttons (don't
confuse model with acDialog forms...as they are both complete different from
each other).
 
Back
Top