Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the currently active window
Message
From
12/10/2001 13:57:56
 
 
To
12/10/2001 13:51:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567748
Message ID:
00567834
Views:
9
I looked at WOUTPUT(), but this is what it says in the help:

"Determines whether output is being directed to the active or specified window."

That implies that it may not return the active window.

The timer runs in VFP. It runs in the background and occasionally executes some code that contains ACTIVATE SCREEN. The problem is that when other code wants to do something with the active window, the active window has changed and it crashes.

I need to "undo" the ACTIVATE SCREEN when I'm done with it. The active window has to go back to being whatever it was before whether that be a window, a form, a toolbar, the screen, whatever.

Thanks,

Michelle


>I always used woutput() in FP26. Have you tried that? Are you trying to return to an active window after a timer event that is run from within VFP-or is the timer event external of vfp and you want to return to vfp and the active window?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform