Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level form does not get the focus
Message
 
 
À
04/03/2002 22:57:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00627628
Message ID:
00628286
Vues:
16
Michel, what happens if you just place something like:

Activate window (main.name) top
or simply...
main.show()

right before the read events?

>>>I have a top level form that is called from a PRG. When that form is called,
>>>it doesn't get the focus. This is how I call it:
>>
>>PUBLIC oApp,oFtp
>>oApp=CREATEOBJECT('MASTER')
>>DO FORM FTP NAME Main
>>READ EVENTS
>>QUIT
>>
>>Michel, did you look at mskb #Q178117 PRB: Application Loses Focus or Opens Minimized on Startup?
>
>That knowledge base relates to the behavior of having Application.Visible = .F. in the Init() of the form. I don't have anything like that in my form. What is frustrating is that I didn't have any problem with VFP 6. Since I have updated to VFP 7, I have that for several applications.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform