Control Msgbox position

L

Larry

I can not find a way to control where the msgbox pops up.

My app requires multiple windows opened to reference other files and when
the windows are tiled for best use onscreen, the msgbox always pops up in mid
screen, instead of in the middle of the Access window.

Anyone know a way in Access 03 to make the message box location relative to
the Access window?
 
D

Dirk Goldgar

Larry said:
I can not find a way to control where the msgbox pops up.

My app requires multiple windows opened to reference other files and when
the windows are tiled for best use onscreen, the msgbox always pops up in
mid
screen, instead of in the middle of the Access window.

Anyone know a way in Access 03 to make the message box location relative
to
the Access window?


You can make your own message-box form, and open it in dialog mode. Or you
can use the Eval function to call the old, Access-97-style MsgBox, which is
displayed more or less centered in the Access application window. Code to
do the latter is posted here:

http://www.mvps.org/access/bugs/bugs0035.htm
 

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