Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Screen.ActiveForm
Message
De
16/12/1998 14:03:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00168073
Message ID:
00168195
Vues:
23
It sounds like you've continued to execute method code that has pulled focus back to the launching form.

David,

I'd almost bet on that. Since form 2 is not modal, it is entirely possible. Brain death is bad, bad, bad!!!

Wheres the code that references _SCREEN.ActiveForm? If it's in the 2nd form's init, or the init of one of its member objects, active form will still refer to the form that's currently active. _SCREEN.ActiveForm won't change until you've called the Show method of the new form. If the code is somewhere within the form, just use Thisform instead of _SCREEN.ActiveForm.

Mike,

OK, good observation. I'll look at this carefully.

This may be a dumb question, but does the second form have the focus at the time you check _Screen.ActiveForm?

Michele,

There are no dumb questions, Michele. See response above, and


Thank you all for your prompt responses.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform