ACC: Maximized Forms First Appear as Restored

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

SYMPTOMS

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

Forms will always open to a maximized state once any other Microsoft Access window has been maximized (excluding the Microsoft Access Desktop). However, when a Microsoft Access window is maximized, forms may briefly be displayed in a restored state when first opened, instead of immediately opening maximized. This behavior will vary, based on the setting of the form's MinMaxButtons property.

RESOLUTION

Either set the MinMaxButtons property to Max Enabled or Both Enabled or follow these steps when using the None or Min Enabled settings:

  1. Create a new, blank macro.

  2. Add the Echo action as the first action to the macro and set its Echo On argument to No.

  3. Add OpenForm as the second action to the macro and set its Form Name argument to the name of the form that will be opened maximized.

  4. Add another Echo action as a third action to the macro and set its Echo On argument to Yes.

  5. Save and run the macro.

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

When you set a form's MinMaxButtons property to either None or Min Enabled, the form is prevented from opening immediately to a maximized state. Instead, the form will open momentarily to a restored state before being displayed maximized.

Steps to Reproduce Problem

  1. Open the sample database Northwind.mdb.

  2. Maximize the Database window.

  3. Open the Products form in Design view.

  4. If the property sheet is not open, click Properties on the View menu.

  5. Click the All tab on the property sheet, and locate the MinMaxButtons property.

  6. Set the MinMaxButtons property to either None or Min Enabled.

  7. Click Form on the View menu and note that any Microsoft Access windows (the Database window, the Products form, and so on) briefly restores before the Products form is displayed maximized.

    NOTE: This behavior may not be obvious on fast computers.


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.