Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to really cancel a form?
Message
De
21/04/2005 14:00:34
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01007086
Message ID:
01007152
Vues:
18
Thanks for the suggestion David. It sounds like a resonable alternative, however, it would take a lot of undoing. Definitely food for thought for the next app though :)

Mike

>Mike,
>
>Another way to deal with this issue on a global basis, is to move your validation out of the individual controls and into the Save routine where you validate everything at once. This gives you the additional benefit that the users can work in an field order that they need to, not in a field order that your app forces them to use.
>
>>I have a form with several controls on it. There is a "Cancel" button that I want to be able to select at anytime to close the form and discard all changes. The problem is that if a control has focus and has valid code in it that prevents it from losing focus, the "Cancel" button is useless.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform