Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus and SetFocus
Message
From
11/04/2002 18:24:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
LostFocus and SetFocus
Miscellaneous
Thread ID:
00643999
Message ID:
00643999
Views:
41
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.
Next
Reply
Map
View

Click here to load this message in the networking platform