ACC: Forms Restored from Maximized State (Unexpected Behavior)

Last reviewed: May 14, 1997
Article ID: Q150499
The information in this article applies to:
  • Microsoft Access versions 7.0, 97

SYMPTOMS

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

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 this to be a problem in Microsoft Access 7.0 and 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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, do not have the capability of being maximized. Therefore, if a form's BorderStyle property has been set to Dialog, this form cannot be maximized.

When switching from form to form, all forms will remain maximized until focus is placed 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 opened 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 to open the Main Switchboard form in Form view.

  7. Click the Categories button to open the Categories form.

  8. Click Window and then Main Switchboard, and then click the Suppliers button to open the Suppliers form.

  9. Click Window and then Main Switchboard, and then click the Products button to open the Products form.

  10. Click Window and then Categories.

  11. Click Window and then Products. Note that all the forms are restored.

NOTE: When switching from form to form, all other forms will remain maximized until focus is placed back onto the Products form, where the MinMaxButtons property has been set to None.

REFERENCES

For more information about the MinMaxButtons property, search the Help Index for "MinMaxButtons property," or ask the Microsoft Access 97 Office Assistant.


Keywords : FmsProp kbusage
Version : 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.