Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't focus on my form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00330607
Message ID:
00330796
Views:
18
>If what Bruce has suggested doesn't work for you, try setting the focus to your control in the form's GotFocus, not the Init. Strange things happen if you try to SetFocus from the Init.

Indeed, you've disturbed the natural event firing, though depending on what you're doing, it may not cause trouble...probably a good thing to avoid, in general, though. A setfocus in the Init causes the form Activate (and anything it runs) to run earlier than normal, then the Init finishes up...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform