Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alignment of forms

Status
Not open for further replies.

greenter

MIS
Nov 3, 2001
11
US
I have a form with two subforms. When the form is opened, it is centered vertically and horizontally. I want the form to open aligned top left. How can I do this?
 
Make sure the form property AutoCenter is set to False in the Property Sheet.

Then In the OnOpen Event of the Form, try this code:

DoCmd.MoveSize 0, 0

I think that should work.
 
Thanks - tried that but it didn't work. Any other suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top