Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement