|
-
Jul 12th, 2000, 03:31 PM
#1
Thread Starter
Fanatic Member
Heh, the simplest answer is always under our nose. Thanx for pointing that out to me...for some reason i thought it should have something to do with Command2.Caption...anyways..thank you.
[Edited by Dim on 07-12-2000 at 04:41 PM]
-
Jul 12th, 2000, 03:37 PM
#2
Use Exit Sub
Code:
Private Sub Command1_Click()
Retval = MsgBox("Do you want to quit?", vbYesNo + vbCritical, "Test")
If Retval = vbNo Then Exit Sub
Print "You selected YES"
End Sub
[Edited by Megatron on 07-12-2000 at 04:40 PM]
-
Jul 12th, 2000, 03:45 PM
#3
Hyperactive Member
*LOL* Of course, in the time it took me to type my question, you & Megatron got it straightened out. So, nevermind...
[Edited by Mongo on 07-12-2000 at 04:47 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|