Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting focus to a grid's control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00301225
Message ID:
00301412
Views:
31
>I did actually get a Setfocus to "sort of" run in a Valid, when I was testing something in a thread a few months back, and I believe it was a commandbutton. It was really more like it was ignoring it, though, rather than executing it, as I recall...

Bruce,

You were able to do it in VFP 3.0, but in 5.0 MS put the error in the valid.

You can SetFocus from a LostFocus but if you fail to issue a NODEFAULT command then VFP will move focus at the end of the LostFocus making it seem like your SetFocus didn't work when it actually did work but focus was moved again after it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform