Microsoft KB Archive/208440

= ACC2000: Forms Unexpectedly Restored from Maximized State =

Article ID: 208440

Article Last Modified on 12/12/2002

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208440



Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
When you view and switch between maximized forms, all forms may suddenly become "un-maximized" (restored).



RESOLUTION
Change the MinMaxButtons property of the form to either Max Enabled or Both Enabled.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
NOTE: Although switching the BorderStyle property of a form to some setting other than Dialog will also resolve the problem, the Dialog setting for this property is not considered a cause of the problem. Dialog boxes, by design, cannot be maximized. Therefore, if you set a form's BorderStyle property to Dialog, the form cannot be maximized.

When you switch from form to form, all the forms will remain maximized until you place the focus on a form whose MinMaxButtons property has been set to None or Min Enabled. At this point, all forms and other Microsoft Access windows (such as the Database window) that are open in a maximized state will be restored.

Steps to Reproduce Problem

 * 1) Open the sample database Northwind.mdb and maximize the Database window.
 * 2) Open the Products form in Design view.
 * 3) Set the form's MinMaxButtons property to None.
 * 4) Save and close the Products form, and then open the Main Switchboard form in Design view.
 * 5) Set the BorderStyle property of the Main Switchboard to Thin.
 * 6) On the View menu, click Form View to open the Main Switchboard form in Form view.
 * 7) Click the Categories button to open the Categories form.
 * 8) On the Window menu, click Main Switchboard, and then click the Suppliers button to open the Suppliers form.
 * 9) On the Window menu, click Main Switchboard, and then click the Products button to open the Products form.
 * 10) On the Window menu, click Categories.
 * 11) On the Window menu, click Products. Note that all the forms are restored.

NOTE: When you switch from form to form, all other forms will remain maximized until you place the focus back onto the Products form, where you've set the MinMaxButtons property to None.

