Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Norfolk, England
    Posts
    744
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Change MsgBox (2000)

    Hi,
    Is it possible to change the way that errors or commands are displayed?
    Normally through either:
    <hr>MsgBox"Are you sure you wish to exit?",vbInformation,"Confirm"<hr>

    or the Error Handling in the code.

    I'd quite like to make the dull grey boxes more interesting. I'm guessing this needs to be done through individual forms. I've attached an image of what I'd like to do, but it has a blue stripe at the top,which I'd like to remove.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Change MsgBox (2000)

    You would need to create a form for this; the built-in MsgBox command does not support custom buttons. If you don't want the form to have a title bar, set its Border Style property to None.

    P.S. I'm not in favour of jazzing up message boxes. I think developers should stick with the Windows standard. All Windows users are familiar with elements such as message boxes; they don't need to think about how they work. If you display a customized version, the user will have to think about how it works instead of about what it does. If the user doesn't like gray buttons, (s)he can always change the colour in the Display Properties control panel.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Norfolk, England
    Posts
    744
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Change MsgBox (2000)

    I can see your point regarding the message boxes.
    The database is all in a similar fashion to the image previously posted so I was trying to make it all look similar.................over fiddling maybe!
    I shall give it some further thought as to whether this is where I should be going, Thanks Hans!

  4. #4
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,624
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Change MsgBox (2000)

    FWIW, I agree with Hans - we try to keep our user interface as clean and uncluttered as we can so users can focus on the task at hand, rather than being wowed by the beauty of our graphics.
    Wendell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •