Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inkey() failure
Message
From
18/10/2004 10:37:52
 
 
To
18/10/2004 10:14:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00952250
Message ID:
00952271
Views:
10
>Hi all
>
>I have the following piece of code to trap Escape key that sometimes work and at other times doesn't.
>
>llpress_esc = .F.
>DO WHILE NOT llpress_esc
> llpress_esc = INKEY()
> ......
> ......
>ENDDO
>
>I would appreciate if anyone can shed some light on my problem. Thanks
>
>Best Regards


Try
DO WHILE INKEY() # 27
   ......
   ......
ENDDO
Regards,
Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform