Forms Positioning

E

Evan McCutchen

Hello, How can I position a form when it opens? i.e. i need one to open in
the top left, and the other in the bottom right. Any help would be
appreciated! Thanks,

E. McCutchen
evan AT radiologyonesource DOT com
 
F

fredg

Hello, How can I position a form when it opens? i.e. i need one to open in
the top left, and the other in the bottom right. Any help would be
appreciated! Thanks,

E. McCutchen
evan AT radiologyonesource DOT com

Code one form's Load event:

DoCmd.MoveSize 0, 0

Code the other form's Load event:

DoCmd.MoveSize 6*1440, 5*1440

The first form will open at the top left corner, the second 6 inches
from the left and 5 inches down from the top. Adjust as needed.
Note: All measurements are in Twips (1440 per inch).
 
R

RipperT

Try this:

In the forms' properties, on the format tab, turn off autocenter. Then (in
design view) size and place the form where you want it and click the 'save'
button. The form should open in the proper place each time.
 
E

Evan M

Thanks guys! Happy Holidays!

fredg said:
Code one form's Load event:

DoCmd.MoveSize 0, 0

Code the other form's Load event:

DoCmd.MoveSize 6*1440, 5*1440

The first form will open at the top left corner, the second 6 inches
from the left and 5 inches down from the top. Adjust as needed.
Note: All measurements are in Twips (1440 per inch).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top