Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event sequence: When of new object fires before LostFocu
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00143145
Message ID:
00143232
Views:
25
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform