ACC95: Form Size Shrinks Changing from Design View to Form ViewLast reviewed: May 14, 1997Article ID: Q148853 |
The information in this article applies to:
SYMPTOMSWhen you toggle a form back and forth from Design view to Form view, the form shrinks in size.
CAUSEThe form has its ScrollBars property set to Neither and one or more of the following properties set as follows:
BorderStyle: (set to anything but "Sizable") -or- ControlBox: No -or- Min Max Buttons: (set to anything but "Both Enabled") RESOLUTIONCreate the following subroutine procedure in a global module
Sub SizeToFitForm() ' Invoke the Window | Size to Fit Form menu command DoCmd.DoMenuItem 0, 7, 6, 0, acMenuVer70 End Suband call it in the Open event of the form as follows:
Private Sub Form_Open(Cancel As Integer) SizeToFitForm End Sub STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional query words: scroll bar bars shrink shrinking
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |