VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Advanced messagebox

stephane swertvaegher  (20 Submissions)   Complete Applications   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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.

Returns
mbReturn (0 till 2)

Rate Advanced messagebox (31(31 Vote))

Download Advanced messagebox

Advanced messagebox Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters