Jump to content
Zag8888

$MB_YESNO Trying to create an if statement

Recommended Posts

That's the code, I know that $YES is wrong, but what I should put instead?

$mb = MsgBox($MB_YESNO, "Title", "text")
   If ($mb = $YES) Then
      Function()
   Else
      (MsgBox($MB_OK, "Title", "Bye")
   EndIf

Thanks for any help.

Share this post


Link to post
Share on other sites

@Zag8888

If you look at the Help file about MsgBox function, you'll see everything you need.

By the way, is $IDYES :)


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites
Just now, FrancescoDiMuro said:

@Zag8888

If you look at the Help file about MsgBox function, you'll see everything you need.

By the way, is $IDYES :)

Thanks a lot for the help 

Ciao :P

Share this post


Link to post
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

×
×
  • Create New...