Results 1 to 3 of 3

Thread: Custom MessageBox button Text

  1. #1

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Custom MessageBox button Text

    hi guys help please...How can i have a custom text on my button in my messagebox? Say, i want to replace the Yes or NO button with Text1 for YES and Text2 for NO. Thanks in advance!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Custom MessageBox button Text

    The MessageBox class does what it does. There is no hidden functionality. Either you create your own form and make it look like a MessageBox or else you use the Windows API to access the buttons on the form create by MessageBox.Show.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Re: Custom MessageBox button Text

    Ok...Maybe i'll just create my own MessageBox-Like form...Thanks for that info john.

Posting Permissions

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



Click Here to Expand Forum to Full Width