Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing VFP
Message
De
26/06/1996 00:06:13
 
 
À
25/06/1996 12:50:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00002889
Message ID:
00002944
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform