Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I direct user to a control after valid event.
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00160401
Message ID:
00160971
Views:
16
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform