Results 1 to 3 of 3
  1. #1
    WCStarks is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    314

    Centering a msgbox on a form


    The default behavior of MsgBox is to display centered on the monitor screen. How can a MsgBox be positioned with respect to the active form, which called the MsgBox?

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Quote Originally Posted by WCStarks View Post
    The default behavior of MsgBox is to display centered on the monitor screen. How can a MsgBox be positioned with respect to the active form, which called the MsgBox?
    I don't think it can, but perhaps you can create your own with a dialog form.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Dynamically Centering Form Fields
    By DarthBrute in forum Forms
    Replies: 8
    Last Post: 07-06-2019, 05:16 PM
  2. Centering text on a form?
    By ceb39usa in forum Reports
    Replies: 4
    Last Post: 09-17-2018, 08:35 AM
  3. Replies: 6
    Last Post: 05-01-2018, 04:20 PM
  4. Replies: 1
    Last Post: 11-11-2016, 08:22 AM
  5. Centering a Form within the Monitor screen
    By ashim in forum Programming
    Replies: 2
    Last Post: 04-13-2014, 02:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums