Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reaction on Escape
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00352415
Message ID:
00352528
Views:
8
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform