Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Real Basic Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Real Basic Question
Divers
Thread ID:
00294983
Message ID:
00294983
Vues:
58
What is the proper way to verify if a user wants to quit an application? I have the following in my Destroy event, but I don't know what to do if they answer 'No'.

TIA
Answer=MessageBox("Are you sure you want to quit?",276,"Quit?")
Do Case
	Case Answer=6 && Yes
		Close Tables all
		Close DataBases All
		Clear Events
	Case Answer=7 && No
		(What do I do here?)
EndCase
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform