Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling the 'Esc' key
Message
From
01/03/2000 10:14:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00339689
Message ID:
00339764
Views:
20
>Allan,
>
>First the answer,
>
>
>SET ESCAPE OFF
>ON KEY LABEL ESCAPE *
>
>
>Now, if I am the user and I want to do something on my computer and your code is running I would press the escape key to get out of what was running. If that didn't work I would shut the machine off. Disabling the escape key does NOT solve your problem, it only makes it worse. Escape has never corrupted data and damaged files, but the power switch certainly will.
>
>I suggest you program the escape key so it will gracefully stop the process and return control to the user.

Or, at least what we do in our ap for some processes that shouldn't be stoped. Display a message that says this process can't be stopped. At least they know the ap is still running if they tink it wasn't.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform