Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Screen.ActiveForm
Message
From
16/12/1998 14:26:00
 
 
To
16/12/1998 14:03:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168073
Message ID:
00168207
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform