W Wesley Morgan Registered User. Local time Today, 13:46 Joined Aug 18, 2003 Messages 17 Sep 2, 2003 #1 I am trying to set a form into the middle of screen with a size of 2.5" tall and 4" wide. The form comes up as full screen. What am I missing?
I am trying to set a form into the middle of screen with a size of 2.5" tall and 4" wide. The form comes up as full screen. What am I missing?
Mile-O Back once again... Local time Today, 19:46 Joined Dec 10, 2002 Messages 11,305 Sep 2, 2003 #2 Set the form's Pop Up property to Yes.
ghudson Registered User. Local time Today, 14:46 Joined Jun 8, 2002 Messages 6,193 Sep 2, 2003 #3 You can force the size of your forms. Try this in the forms OnOpen event... Code: Private Sub Form_Open(Cancel As Integer) ' Use this message box for testing ' MsgBox "InsideHeight = " & InsideHeight & vbCrLf & vbLf & "InsideWidth = " & InsideWidth InsideHeight = 5050 InsideWidth = 2835 End Sub HTH
You can force the size of your forms. Try this in the forms OnOpen event... Code: Private Sub Form_Open(Cancel As Integer) ' Use this message box for testing ' MsgBox "InsideHeight = " & InsideHeight & vbCrLf & vbLf & "InsideWidth = " & InsideWidth InsideHeight = 5050 InsideWidth = 2835 End Sub HTH