Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BIG BUG: with Valid() .F. textbox can lose focus.
Message
 
À
26/11/2003 09:35:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00853662
Message ID:
00854738
Vues:
20
Just a suggestion. Valid() has too many secrets.

What seems to work best for me is to "RETURN lflag" in the WHEN events of dependent fields. "lflag" would default to .F. when the primary [independent] field is empty, or [when] a Lostfocus() has determined the [independent] value entered is not valid. lFlag would be set to true when the primary field is not empty and the value entered was acceptable.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform