Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event sequence: When of new object fires before LostFocu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00143145
Message ID:
00143232
Vues:
26
>The safest bet would be not to spread the code so many places, but a custom property in the form might do the trick
>
In text2.When
>IF !Thisform.text1ValidOK
>  IF !text1.valid()
>    text1.SetFocus() && or return .f.
>  ENDIF
>ENDIF
>
Sorry, but that makes the hair stand up on the back of my neck. :-) All these events were designed to be fired at certain times, and calling them from each other could make it impossible to debug or maintain later...
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform