ACC: Maximized Forms First Appear as Restored

ID: Q149930


The information in this article applies to:


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.


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 
Version           : 7.0 97
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 29, 1999