Form Position.

  • Thread starter Thread starter John
  • Start date Start date
J

John

When I open the Form, I would like the Form to be at the
top right conner of the sceen position automaticly. How do
I write the code for this?

Any help would be very appreciated
 
When I open the Form, I would like the Form to be at the
top right conner of the sceen position automaticly. How do
I write the code for this?

Any help would be very appreciated

Code the form's Open event:
DoCmd.MoveSize 0,0

You may need to reposition it, so it's arguments are
MoveSize Right, Top
and the measurements are in Twips (1440 per inch).
So DoCmd.MoveSize 1*1440, 3*1440
positions the form 1 inch from the left edge and 3 inches from the
top.
 
Back
Top