Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get back to a previous text box if error occurr
Message
 
À
05/01/2000 15:05:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00313407
Message ID:
00313628
Vues:
65
>Thanks Ken...
>I knew it was a simple answer. I just couldn't find it in the help or several manuals. Why can't they just say that in the help files... I guess that would be too easy huh...

Mike,

From the VFP help file for Valid Event;

"Remarks

If the Valid event returns true (.T.), the control loses focus. If the Valid event returns false (.F.), the control does not lose focus.

The Valid event can also return a numeric value. Returning a numeric value has one of three effects:

If 0 is returned, the control does not lose focus.

If a positive value is returned, the value specifies the number of controls the focus advances. For example, if the Valid event returns 1, the next control gets the focus.

If a negative value is returned, the value specifies the number of controls the focus moves back. For example, if the Valid event returns –1, the previous control gets the focus."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform