Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling the 'Esc' key
Message
De
01/03/2000 10:14:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00339689
Message ID:
00339764
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform