Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting focus to a top-level form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146913
Message ID:
00147173
Views:
37
>>Also, depending on what you're doing, issuing a Show will activate it, which
>>is a form's version of setfocus...
>
>Where do I put the .Show()? I tried the Init event, but to no avail.

I guess the question is, what are you trying to do? Ordinarily , if you just DO FORM etc, it becomes active (has "focus") when its Activate fires...but it won't have "focus" earlier when the Init fires...so one solution is to just move any code needing focus to the form's Activate event...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform