Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the currently active window
Message
From
13/10/2001 04:58:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567748
Message ID:
00568130
Views:
18
WOUTPUT() doesn't satisfy your needs ?
Also activating screen is probably to print something. If so you could use _screen.print() instead w/o changing the output,active window.
Cetin

>Yes, those were the commands I referred to in my original message. The problem is that none of them will tell me the name of the currently active window.
>
>All I want to do is this:
>
>lcOldWindow = WACTIVE()
>ACTIVATE WINDOW SCREEN
>* Run some code
>ACTIVATE WINDOW (lcOldWindow)
>
>The problem is that "WACTIVE()" isn't a real command and I don't know what to put there. It just basic save and restore to put things back how I found them. I don't understand why it's such a hard thing to do. Is there no command that will tell me the name of the active window?
>
>Thanks,
>
>Michelle
>
>
>>Sorry I couldn't get the scenario. woutput() returns output window and wontop() on top one. woutput() might be invisible so check with wvisible() (and probably wexist()).
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform