Goblin Posted September 7, 2008 Share Posted September 7, 2008 hey, i want to know how to control option of msgbox, Example:- i made a msgbox it's controls are "Yes, No, Cancel" if the user pressed "Yes" a message box will appear and say "You Chose yes" and if the user pressed "No" a message box will appear and say "You Chose no" etc. That's all Link to comment Share on other sites More sharing options...
oMBRa Posted September 7, 2008 Share Posted September 7, 2008 (edited) $Msg = MsgBox(3, 'Press', 'Press yes or no') If $Msg = 6 Then MsgBox(48, '', 'You pressed yes!') ElseIf $Msg = 7 Then MsgBox(48, '', 'You pressed no!') EndIf Edited September 7, 2008 by oMBra Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now