Jul 29, 2005 #1 JavaToPerlNowVB Programmer Joined Jul 14, 2005 Messages 84 Location US I want to create a yes no msg box where if user press yes do something and if user press no exit out. thanks
I want to create a yes no msg box where if user press yes do something and if user press no exit out. thanks
Jul 29, 2005 #2 PPJOSEPH IS-IT--Management Joined Apr 2, 2003 Messages 82 Location US For the YES button: Select event procedure in "ON CLICK" write the code that you want the YES button to perform and for No Button do the same but the event procedure will be to close the form. Hope this helps Upvote 0 Downvote
For the YES button: Select event procedure in "ON CLICK" write the code that you want the YES button to perform and for No Button do the same but the event procedure will be to close the form. Hope this helps
Jul 29, 2005 #3 payback Programmer Joined Jan 14, 2002 Messages 214 Location NZ Better yet, look at the msgbox function using a response argument, then check the response to determine what to do. Upvote 0 Downvote
Better yet, look at the msgbox function using a response argument, then check the response to determine what to do.
Jul 29, 2005 #4 ProgramError Programmer Joined Mar 2, 2005 Messages 1,027 Location GB reply = msgbox "message",acyesno,"title" if reply = acyes then do something... else do somthing else... end if Program Error Programmers do it one finger at a time! Upvote 0 Downvote
reply = msgbox "message",acyesno,"title" if reply = acyes then do something... else do somthing else... end if Program Error Programmers do it one finger at a time!