Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desktop App not getting focus
Message
 
À
06/12/2001 05:35:26
Paul Bates
Park Lane College
Leeds, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00590404
Message ID:
00590406
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform