Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to activate a top level form?
Message
De
20/06/2003 02:59:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00802009
Message ID:
00802091
Vues:
27
Hi David,

Thanks for your reply. I have set the _SCREEN.VISIBLE to .f. prior to displaying the main TopLevel form. Any Explorer window or window from another application, that is behind my form has the focus. I have tried numerous settings but with the same result. The only way I can get the focus onto my form is to actually click on it.

Regards
Doug Johnston



>Doug,
>
>You should be able to SetFocus() to the form to get focus back there. I imagine though that you must have code that is pulling focus away from the form after it's launched.
>
>>I have an application which has just 1 top level form, but when the app starts, this VFP form does not contain the focus, the focus remains either with the desktop or other windows that may have been open prior to mine.
>>
>>Can anyone help with a solution, as it is a pain to click on the form first, then enter data into the fields.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform