Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DELETE and BACKSPACE - How to forbid?
Message
 
À
10/04/1997 12:08:33
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:
00027805
Vues:
27
>>>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...
>>
>>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.
>
>Thank you for helping, Colin (I haven't seen anywhere the syntax above).
>
>Unfortunately, the RichText Control simply ignores it.
>I've tried within an EditBox and it works fine, but I'm not using EditBox in this case because it also has some problems with the SelStart property.
>
>I wonder if MS has solved it in VFP 5.0a...
>
>Renato.

i think that's something you'd have to turn off in the .ocx control....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform