ACC: Forms Unexpectedly Restored from Maximized State
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.
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 opened in a maximized
state will be restored.
Steps to Reproduce Problem
- Open the sample database Northwind.mdb and maximize the Database
window.
- Open the Products form in Design view.
- Set the form's MinMaxButtons property to None.
- Save and close the Products form, and then open the Main Switchboard
form in Design view.
- Set the BorderStyle property of the Main Switchboard to Thin.
- On the View menu, click Form to open the Main Switchboard form in Form
view.
- Click the Categories button to open the Categories form.
- Click Window and then Main Switchboard, and then click the Suppliers
button to open the Suppliers form.
- Click Window and then Main Switchboard, and then click the Products
button to open the Products form.
- Click Window and then Categories.
- Click Window and then 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.
REFERENCES
For more information about the MinMaxButtons property, search the Help
Index for "MinMaxButtons property," or ask the Microsoft Access 97 Office
Assistant.
Keywords : kbusage FmsProp
Version : 7.0 97
Platform : WINDOWS
Issue type : kbbug