PDA

Click to See Complete Forum and Search --> : Disable BackSpace Key In WebBrowser Control


rsitogp
May 30th, 2001, 08:41 AM
Is there a way I can disable the BackSpace key (which takes the user back) in the webbrowser control?

Thanks in advance!

harsoni
May 30th, 2001, 11:31 AM
One way is to write a vbscript or javascript function which takes event as the parameter. in function check for the keycode if it is back key make keycode zero. call this function in body tag on
onkeypress or onkeydown. hope this works...

Sonia

rsitogp
May 30th, 2001, 11:59 AM
The problem is that the program is kind of a webbrowser so I can't add anything to html. Any other idea?
Thanks anyway!