Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using return in the valid process
Message
De
10/11/2004 12:32:23
 
 
À
10/11/2004 12:29:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Divers
Thread ID:
00960046
Message ID:
00960097
Vues:
12
Borislav

I think the whole point is that he doesn't want to return .F.

>You may set the InputMask of that TextBox to "Y" it allows to user to input ONLY "Y","N", "y", "n". If You want to validate the record put the check of the whole form in some separate method i.e. thisform.AllOK(). In QueryUnload event of the form put:
>
>IF .NOT. ThisForm.AllOk()
>   NODEFAULT
>   RETURN .f.
>ENDIF
>
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform