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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Offset additonal instances of popup form from each other

Status
Not open for further replies.

Vie

Technical User
Jan 22, 2004
115
0
0
US
How can I, in code, cause each new instance of a popup form to appear on screen slightly offset from the previous instance?
 
I guess you could use the Openargs in the Openform statement to pass an index number to the form which could then use Docmd.movesize to position the form as you want.
 
Thanks lupins46. I'm not using DoCmd cause these are multiple instances of the same form but your suggestion helped. I realized that the form object has the move method too.

frm.Move Left:=1, Top:=1

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top