Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel Operation from a required field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00008117
Message ID:
00008157
Vues:
34
>Has anyone come up with a good method that will
>allow a user to cancel an operation while they are
>on a field that requires entry.
>
>They have requested to add a new record.
>The user is then presented to a screen with X number
>of fields, some of which are required and in their
>VALID code states IF EMPTY(fieldname) THEN 'Field must
>be filled' ENDIF
>
>but what if the user presses the CANCEL button, how do I
>know that they have touched the CANCEL button so
>as to let them out of the required field and let the CANCEL
>valid be fired off.
>
>Any suggestion please.
>
>Bret

Try to use LostFocus() instead of Valid(). I have no time to test it but I think you can make a combination of LostFocus and Valid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform