simple form problem with no solution

Leong

Registered User.
Local time
Today, 15:13
Joined
Jan 10, 2007
Messages
21
I have searched this problem and seen many results but nothing which works for me.

My problem is simply how to size every form the same and have them all the same screen position.

Sounds simple but will not work for me at all.

First I tried dragging the form in desgin view to set the sizes and switched autosize to NO and centre to YES. I did this to two forms.

Yet they still opened up different sizes and different postions on the screen.

So i tried setting the measurements in the 'details' and 'record selectors' bars. Still they opened up different sizes and different postions.

So today I try this code

Private Sub Form_Open(Cancel As Integer)

InsideHeight = 8000
InsideWidth = 8000

End Sub


on two forms yet they both open up different sizes.

I am out of ideas please help me as my database will be complete once I sort this problem.
 
Private Sub Form_Open(Cancel As Integer)

Me.Detail.Height = 1440 * 3
Me.Width = 1440 * 3
DoCmd.SelectObject acForm, Me.Name
DoCmd.RunCommand acCmdSizeToFitForm

End Sub


just tried this one on both forms.

both forms opened at different sizes and different postions.

:confused:
 

Users who are viewing this thread

Back
Top Bottom