Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01570404
Message ID:
01570470
Vues:
46
>>>...note, this behavior is non-standard to other application forms where Cancel just cancels without any prompts).
>>>
>>>This is entirely untrue. Most apps you use will prompt you to save if you try to quit or close a form in a dirty state.
>>
>>Right, but I am talking about Revert button. I don't think that 'Revert' button should ask a question.
>>
>>In any case, I edited that text before I posted it. Instead of application it was the specific name of our main application. I changed that name to be "application" meaning that in our application all other forms simply Cancel the changes when we press the Cancel button. The uniqueness of this form is that we're using Apply/Revert (as opposed to Save/Cancel used in all other forms in our application) and that we want this prompt to be both on Exit and on pressing that 'Revert' button.
>
>
>Again, I disagree. Any time you're going to lose changes, ALWAYS ask the user to confirm

... and if he says no (I don't want to lose changes) issue a message saying "I did not think so." :)

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform