Fixing popup positions

  • Thread starter Thread starter bazilthebest
  • Start date Start date
B

bazilthebest

Is there a simple way to fix the position of a popup on an access 2007 form.
With the main form in design view and the popup moved to its position it
stays for a few appearances then moves to the top left of the screen. How
can its position be fixed?
 
Is there a simple way to fix the position of a popup on an access 2007 form.
With the main form in design view and the popup moved to its position it
stays for a few appearances then moves to the top left of the screen. How
can its position be fixed?

You can use the MoveSize method in the form's Load event to set the
left and top position of the form.

Note: All measurements must be in Twips, 1440 per inch, so to set the
form 1 inch from the left of the screen and 2 inches down from the top
you would use:

DoCmd.MoveSize 1*1440,2*1440

Set the form's AutoCenter property to No.
 
Perfect - thanks

malcolm

fredg said:
You can use the MoveSize method in the form's Load event to set the
left and top position of the form.

Note: All measurements must be in Twips, 1440 per inch, so to set the
form 1 inch from the left of the screen and 2 inches down from the top
you would use:

DoCmd.MoveSize 1*1440,2*1440

Set the form's AutoCenter property to No.
 
Back
Top