Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DELETE and BACKSPACE - How to forbid?
Message
 
To
09/04/1997 20:37:11
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00027709
Message ID:
00027732
Views:
33
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform