Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling the 'Esc' key
Message
From
01/03/2000 10:45:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00339689
Message ID:
00339811
Views:
15
>What is the syntax to disable the escape key ?

You can use SET ESCAPE like some folks mentioned, or ON ESCAPE. You could do

ON ESCAPE MyProcessForm.lEscaped = .T.

THen make sure in every iteration of your process (if its a loop of some sort) check to see if the user has hit escape, and then stop the process gracfuly from there.
Previous
Reply
Map
View

Click here to load this message in the networking platform