Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus and SetFocus
Message
 
 
To
11/04/2002 18:24:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00643999
Message ID:
00644008
Views:
15
Add NODEFAULT to the LostFocus().

>Hi
>I have a textbox containg some validation code and then further code in th LostFocus. The code in LostFocus will do a couple of SetFocus depending on CASE statement.
>
>The problem is if I try to SetFocus to the original textbox containing this LostFocus. I have tried "THISFORM.textbox.SetFocus", "THIS.SetFocus" but I can't get the focus to stay with the textbox, it always moves to the next object.
>
>Anyone with ideas?
>
>Regards
>Doug Johnston
>
>P.S. I can't put the code in the valid because of all the SetFocus that have to done.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform