Search Tools Links Login

Advanced messagebox


A new (advanced) messagebox, with 10 different styles and 1 to 3 buttons. All input is numerated, so it's easy when you code. See the pic for the styles. The syntax is: MBox "Prompt", [Style], [Buttons], [Icon], ["Title"]. For example: MsBox "Prompt" or more complete: MsBox "Prompt", mbWinter, mbSaveDontSave, mbSave, "Title".
The prompt is required, all the rest is optional.
Remember: The form and the module go together ! The return-value = mbReturn. If mbReturn = 0, then the first button has been pressed. If mbReturn = 1 then the second button has been pressed. If mbReturn = 2 then the third button has been pressed.

Original Author: stephan swertvaegher

Returns

mbReturn (0 till 2)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 154 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD91038182000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 22,919 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.