Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping a process
Message
 
 
To
04/08/2010 09:02:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01029879
Message ID:
01475133
Views:
37
>>>The application can be closed from the toolbar or menu (menu calls the toolbar button's click) or from the shutdown procedure.
>>
>>I'm thinking I set a property of the application object and then based on this property will ask or not ask the question about saving changes in that particular form. Does it sound like a good idea / solution or I should leave that application (and form) to its fate?
>
>
>(1) dunno - I do not let the users leave the app if there's any form open


What happens in case of shutdown initiated by the system?

>(2) I do have a function that tries to close all the forms - calls a form's method (MakeSafeToClose() + QueryOnload() afterwards + Release()
>
>MakeSafeToClose() is very simple - for each workarea , if any changes - revert them
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform