Sub Exxit_Click 'exxit is a workaround for the exit menuitem
AppClose
End Sub
Sub Main_Close
If inplay=true then
if msgbox("Do you really wish to Exit?", "Exit Pairs v2.0", cMsgboxYesNo, cMsgboxQuestion) = cNo then
Main.CancelClose
End If
End If
End Sub