in a textbox.. is it not possible to capture the DEL button when pressed? and do something with it.... as i couldint get it to work. It works fine for the Backspace though.

Private Sub Text1_KeyPress(KeyAscii As Integer)

if KeyAScii = 8 then 'this is for backspace..which works)
do something
end if

----
however.. the following does not work.. which is for DEL

if keyAscii = 127 then
do something
end if


any ideas?
cheers
Abe