Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DELETE and BACKSPACE - How to forbid?
Message
 
À
09/04/1997 20:37:11
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00027709
Message ID:
00027732
Vues:
31
>I'm working with a RichText Control and in some specific situations I'd like to forbid the user to use DELETE or BACKSPACE from keyboard.
>Does anybody know a command that could suppress the effect of trying to use these keys?
>
>Thanks...
>
>Renato

Hi Renato,

The simplest way would be in the cases needed to issue:

ON KEY LABEL DEL *
ON KEY LABEL BACKSPACE *

Now the delete and backspace keys will not work. Just remember to set them back with the same commands minus the asterix's.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform