Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing VFP
Message
From
26/06/1996 00:06:13
 
 
To
25/06/1996 12:50:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00002889
Message ID:
00002944
Views:
35
>When a user modify some data in a form and click
>the X (Windows 95) in the right corner to close
>VFP whitout saving, how i can control this and
>prevent VPF to close. I want the user be notify of
>data change and ask him if he want to save this
>data.

I have this when my system start up: ON SHUTDOWN oApp.Cleanup()

This cleanup method is responsible to scan all active windows and determine if we have unsaved changes, if yes, ask the user to ignore these changes or to cancel the shutdown.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform