Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET ESCAPE status
Message
 
À
12/02/2010 09:53:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01448925
Message ID:
01448964
Vues:
51
Thanks!

>>Hi Gang!
>>
>>This one escapes me, off the top of my old bald head!
>>
>>I want to turn off the ESCAPE key, so I want to SET ESCAPE OFF.
>>
>>But, I want to save the ESC key status before I do that, then restore it when I get done with my code....
>>
>>Is the there a SET command or other command that will tell me the status of ESCAPE at any time?
>>
>>Thanks!
>
>OK, I see you already got a reply. Here is an example:
>
>
>local lcSetEscape
>lcSetEscape = set("escape")
>set escape off
>
>* Do your stuff here
>
>set escape &lcSetEscape && Macro-substitution replaces the following 5-line IF:
>
>* if lcSetEscape = "ON"
>*   set escape ON
>* else
>*   set escape OFF
>* endif
>
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform