Keeping a Form Maximized
Posted on 2008-10-05
I'm working in Access 2007 for a project which will run in Access 2003.
A popup style dashboard form opens another form whose onLoad event executes 'doCmd.Maximize'.
To prevent users from restoring or minimizing the form, its control box (and avery other such control) is set to NO.
I'm just curious. When I return to the dashboard after hiding the maximized form (Me.Visable = False), and subsiquently return to the hidden form, setting 'Form!myForm.Visable = True' from a dashboard command button, the form appears, but restored not maximized.
In fact, it looks like any time I switch program focus to a non-maximized form, returning to the form I want maximized finds that form's size not only 'restored' but also unable to be maximized, even interactively by double-clicking the titleBar. At what trigger event will 'doCmd.Maximize' always "re-maximize" my form? I've tried onLoad, onOpen, onCurrent.
. . .and why is it so difficult to search MSDN.com for answers?!