How to control form position and size (1 Viewer)

BennyLinton

Registered User.
Local time
Yesterday, 23:41
Joined
Feb 21, 2014
Messages
263
How do you keep forms from anchoring to the upper right and being really big. I used the code below, but is there more code that would prevent this?:

Code:
Private Sub Form_Load()
DoCmd.MoveSize 500, 500, 11000, 8000
End Sub
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 01:41
Joined
Feb 28, 2001
Messages
27,172
Normally forms anchor at the upper left. In Windows coordinates, <0,0> is the left-most, upper-most available coordinate on the screen. Window growth is thus down and to the right. What you are using is the way most people do this unless they maximize the screen instead.
 

Users who are viewing this thread

Top Bottom