>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
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.