Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00390471
Message ID:
00390476
Vues:
9
>Why does the valid event always fire even if it's not in edit mode, or even if the user doesn't change value? Why can't the valid event fire only when the value changes?

Dodi,

The valid event (which originated in 2.x) has the purpose of validating input prior to the control losing focus (LostFocus). I suppose you could add a flag that could be set in InteractiveChange the interactive change event for whether or not the valid event code needs to be executed, but you'd still have to check for it in Valid.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform