Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Real Basic Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Real Basic Question
Miscellaneous
Thread ID:
00294983
Message ID:
00294983
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform