View Single Post
  #10 (permalink)  
Old 06-08-2008, 05:51 AM
Standa's Avatar
Standa Standa is online now
Junior Member
 
Join Date: May 2007
Location: Czech Republic
Posts: 27
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi, try this:
Code:
Sub ImageButtonExitForm1_Click
    Form1.Close
End Sub

Sub Form1_Close
     If Msgbox ("Do you want to quit?",, cMsgBoxYesNo) = cNo Then
          Form1.CancelClose	
     End If
End Sub
__________________
XDA Flame
Reply With Quote