Maximize Concept?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to get my access app to perform much the same way several others
appear to want their app to perform. One maximized window at a time using
the switchboard. There are several posts that talk about work arounds, but,
I'm sorta trying to get my brain around 'why' restoring one form affects the
other forms.

Can anyone shed some light on this?

Thanks
Bernie
 
bernadou said:
I'm trying to get my access app to perform much the same way several others
appear to want their app to perform. One maximized window at a time using
the switchboard. There are several posts that talk about work arounds, but,
I'm sorta trying to get my brain around 'why' restoring one form affects the
other forms.

Can anyone shed some light on this?

Access ( and Word and Excel) are MDI interface applications. This means if you
maximize one internal window you maximize all windows and if you restore one
window you restore all windows. The exception to this are forms that have their
popup property set to true.

If you experiment with Word (with multiple documents open) or Excel (with
multiple files open) you will see the same behavior.
 
Ok, I guess that makes sense. In my tooling around with Access, I've created
an app that maximizes and uses popups, so, I've got everything working
basically the way I want it to with one simple exception. I want the main
Access window to be able to be restored, but, the internal interfaces to be
maximized within the Access window. It seems that now, using the
docmd.maximize onLoad maximizes the entire application.

How do I maximize the switchboard form onLoad, disable the min/max and close
buttons (I've got that part working, the next part is the problem), and, keep
the main Access window from maximizing?

Thanks in advance...
B

B
 
bernadou said:
Ok, I guess that makes sense. In my tooling around with Access, I've
created an app that maximizes and uses popups, so, I've got
everything working basically the way I want it to with one simple
exception. I want the main Access window to be able to be restored,
but, the internal interfaces to be maximized within the Access
window. It seems that now, using the docmd.maximize onLoad maximizes
the entire application.

That is incorrect. DoCmd.Maximize only maximizes the child windows within the
main Access window. It has no effect on the Access window itself. The command
that maximizes Access' main window is...

DoCmd.RunCommand acCmdAppMaximize

Are you sure you aren't running this command somewhere in your code?
 
No, I don't think that code is anywhere within my app. Hmm, would it be
because the switchboard is set to Popup too?
 
Back
Top