Opening a dialog in a more helpful position

T

tryit

I have the following line in a button event on FormA:

DoCmd.OpenForm "FormB", WindowMode:=acDialog

This opens FormB in the EXTREME upper left of the Access window, where
the user will probably miss it. Is there a way to make FormB open in
the middle of FormA?


Thanks,
Tom
 
G

ghetto_banjo

If you open the form in Design View, and go to properties, on the
Format tab, there is an option to "Auto Center". Set that to yes and
the form will automatically open to the middle of your screen.
 

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