View Single Post
  #8 (permalink)  
Old 06-06-2008, 07:33 PM
cdeane cdeane is offline
Knows the basics
 
Join Date: Aug 2007
Location: Arkansas
Posts: 60
Default

I have full screen on my ppc App. But I get a double take with Msgbox.
I have to accepet Yes or No twice to get it to work.

Code:
Sub ImageButtonExitForm1_Click
  Msgbox ("Do you want to quit?",, cMsgBoxYesNo)
    Form1.Close
 End Sub

Sub Form1_Close
     If Msgbox ("Do you want to quit?",, cMsgBoxYesNo) = cNo Then
          Form1.CancelClose
		
     End If
End Sub

Last edited by cdeane : 06-06-2008 at 07:57 PM.
Reply With Quote