Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus - The BIG Question
Message
From
03/03/2005 06:16:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
SetFocus - The BIG Question
Environment versions
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00992328
Message ID:
00992328
Views:
54
I still have a problem with SETFOCUS. Many have suggested that I Use LOSTFOCUS when I want to avoid the error message "Cannot Call SetFocus ..."
The BIG QUESTION is; Why in other forms in the same application, SETFOCUS executes without the error even if I put it in the RIGHTCLICK or CLICK Events of A COMMANDBUTTON but in others it doesn't. Create a scenario that leads to this error then using that example explain to me how you solve it. Let the COMMANDBUTTON have some code in the RIGHTCLICK Event that will be run when Rightclicked, then Setfocus to another object in the same form.
Next
Reply
Map
View

Click here to load this message in the networking platform