Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validation
Message
De
06/12/1997 10:11:53
 
 
À
23/10/1997 10:20:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00056323
Message ID:
00064255
Vues:
32
>>we have a few forms here with several objects that are validated at a the object level.
>>the problem is, is that the user cannot cancel without the validation running for the object the are on.
>>
>>if we put all the validation on the save, they don't find out about incorrect entries until they try to save.
>>
>>is there anyway we can keep the valids on the objects yet not have them run if the user hits cancel.
>
>Personally, I don't like this way, but as Mr. Booth told yesterday, you can do it, adding 'Escape' button (with Cancel property =.T.) and checking LASTKEY()=27 in all control valid events.


What is your preference when programming for validation?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform