Control Msgbox position

  • Thread starter Thread starter Larry
  • Start date Start date
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?
 
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
 
Back
Top