Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I direct user to a control after valid event.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00160401
Message ID:
00160971
Vues:
21
>With all due respect, that is not what I advocated: I advised to write a method in the base form that computed the difference between the current tabindex and the tabindex target object and return that from the valid method. _That_ works, and you only have to worry about 1 method, the valid method, like in the good old fpd times.
>
>But come to think to it ... you are right. You could do all the validation in the lostfocus event... If you redirect to THIS, do you know if the gotfocus() is triggered?

Yes, indeed. Nodefault just keeps focus, but if you add This.Setfocus, you will fire the Gotfocus, so you can choose either way, depending upon needs...there really isn't a lot of use for Valid any longer...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform