Results 1 to 4 of 4

Thread: [RESOLVED] Custom Options on messagebox

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2003
    Location
    Auckland
    Posts
    1,139

    Resolved [RESOLVED] Custom Options on messagebox

    Is it possible to have custom options on a messagebox other than Ok or yes no.. for example

    "100" and "200"

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: Custom Options on messagebox

    The straightforward answer is no you are limited to a few standard options, but it is very simple to implement your own message box.

    Just create a form with a public procedure which accepts the text you want to show and details of the buttons, shows the dialog modally and returns the value of the button pressed.

  3. #3

  4. #4
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,714

    Re: Custom Options on messagebox

    There is a nice messagebox control at Code Project in C# but works fine in VB.NET

    Here is an example using 100 and 200 in the buttons in the attached text file
    Last edited by kareninstructor; Jun 30th, 2011 at 05:28 AM.

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