Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reaction on Escape
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00352415
Message ID:
00352528
Vues:
9
use
if inkey(.01,"HM") = 27
exit
endif
HTH

>Hi Mark,
>
>It works, except that now it shows | in my ProgressBar (waiting the User Input).
>Is it possible to cach last pressed key, but don't show this Enter sign?
>
>Thanks in advance
>
>>>if lastkey()=27
>>> exit
>>>endif
>>>
>>>I don't see any reaction... The process still continues to execute.
>>>What should I do?
>>
>>You should change LASTKEY() to be INKEY(). INKEY() checks the current keyboard buffer, while LASTKEY() checks the key used to exit the previous dialog.
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform