Jump to content

Msgbox Return Codes


Recommended Posts

$ans = MsgBox(4, "demo", "Select Yes or No")
If $ans = 6 Then MsgBox(0, "", "Yes")
If $ans = 7 Then MsgBox(0, "", "No")
If you want to do more than just display a MsgBox, then you might want to use a full If/EndIf or maybe If/Else/EndIf

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...