ACC: Maximized Forms First Appear as Restored
ID: Q149930
|
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.
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:
- Create a new, blank macro.
- Add the Echo action as the first action to the macro and set its Echo On
argument to No.
- 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.
- Add another Echo action as a third action to the macro and set its
Echo On argument to Yes.
- 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
- Open the sample database Northwind.mdb.
- Maximize the Database window.
- Open the Products form in Design view.
- If the property sheet is not open, click Properties on the View menu.
- Click the All tab on the property sheet, and locate the MinMaxButtons
property.
- Set the MinMaxButtons property to either None or Min Enabled.
- 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