Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus Error
Message
From
05/11/2004 10:48:19
 
 
To
05/11/2004 10:27:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958497
Message ID:
00958513
Views:
18
Even if another method is calling SetFocus, it's still within the scope of the Valid because the Valid called that method.

You should be able to do what you want to do in the LostFocus, which fires before the Valid. The Valid happens after LostFocus and is already prepared to set focus to the next control, which is why you cannot call a SetFocus within a Valid.
Previous
Reply
Map
View

Click here to load this message in the networking platform