Results 1 to 3 of 3

Thread: Easy one.

  1. #1

    Thread Starter
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620

    Question

    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]
    Dim

  2. #2
    Guest
    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]

  3. #3
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Leavenworth KS USA
    Posts
    482
    *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
  •  



Click Here to Expand Forum to Full Width