Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the currently active window
Message
 
 
À
12/10/2001 13:22:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00567748
Message ID:
00567796
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform