Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Screen.ActiveForm
Message
 
 
À
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:
00168207
Vues:
28
>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,


Well, maybe not dumb, but when I venture forth what seems like the obvious choice I worry that it will insult the reciepient. But sometimes what's obvious to one is not to another, so you never know.

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform