Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desktop App not getting focus
Message
 
 
To
06/12/2001 05:35:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00590404
Message ID:
00590406
Views:
28
>All Universalthreaders
>
>In my application my main form is set as a top level form with the foxpro screen set to invisible so it appears in the windows desktop.
>
>When i run the app, however, the form never has focus.
>
>Is there a property i'm missing as the main form works fine in some apps but not in others.
>
>Best Regards
>Paul

That always happens to me, here is what I do, usually from the forms init or wherever you need it:
oWsh = CREATEOBJECT( 'Wscript.shell' )
oWsh.AppActivate( 'My Form's Caption Goes Here' )
oWsh = .NULL.
RELEASE oWsh
Good luck,
jfh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform