|
-
May 1st, 2009, 04:44 AM
#1
Thread Starter
Frenzied Member
[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"
-
May 1st, 2009, 04:53 AM
#2
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.
-
May 1st, 2009, 06:40 AM
#3
Re: Custom Options on messagebox
-
May 1st, 2009, 10:13 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|