ACC97: Control Box Submenu Reappears After Being Disabled

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

SYMPTOMS

When you disable the Control Box for a form, the Control Box submenu is disabled also. If you maximize and then restore a form that has its Control Box disabled, the Control Box submenu will reappear on the restored form if you press the ALT key, and then press the LEFT ARROW key.

RESOLUTION

If you remove the Control Box from a form, do not maximize it because the submenu will be restored if the form is returned to its normal size.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open the sample database Northwind.mdb in Microsoft Access 97.

  2. Create an AutoForm based on the Employees table.

  3. Switch the form to Design View and change the ControlBox property to No.

  4. Save the form as Employees1, and then switch to Form view. Note that the Control Box has been removed from the form.

  5. Switch the Employees1 form to Design view. Add a command button to the form and name it SizeForm. Set the command button's OnClick property to the following event procedure:

          Private Sub SizeForm_Click()
    

            DoCmd.Maximize
            DoCmd.Restore
    
          End Sub
    
    

  6. Switch the form to Form view, and click the SizeForm button.

  7. Press the ALT key to place the focus on the File menu, and then press the LEFT ARROW key. Note that the Control Box submenu appears.

REFERENCES

For more information about maximizing and restoring forms, search the Help Index for "maximizing windows," or ask the Microsoft Access 97 Office Assistant.


Keywords : FmsProp kbui
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Resolution Type : Info_Provided


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.