Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Del & Ins Key disabling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00361198
Message ID:
00361204
Vues:
18
>Hi, could someone please help.
>
>I am trying to disable the DEL & INS keys so I can trap their respective keypress codes of 7 and 22 using the keypress event in a form. After trapping either of these keys and doing the procedure attached to them, I am experiencing strange behavior.

Maybe what you want is just something like this in the Keypress?:
if nkeycode = 22 or nkeycode = 7
  nodefault && stops key event
  * do whatever else
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform