Rank: Newbie Groups: Member
Joined: 8/3/2015 Posts: 3
|
Hi Guys,
just trying to disable the beeping sound when I press ALT + {key}
I have a vb.net form with a EO webcontrol/webview
the idea is to allow users to press ALT + key to fire a function in the javascript (which works fine) but it also gives me a beep at the same time.
the same exercise in native .net webbrowser doesn't beep.
I have tried:
Private Sub vbapp_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown e.Handled = True e.SuppressKeyPress = True End Sub
Private Sub WebControl1_KeyDown(sender As Object, e As KeyEventArgs) Handles WebControl1.KeyDown e.Handled = True e.SuppressKeyPress = True End Sub
can you please help me?
thanks Pouya
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please try to set the WebControl's AutoProcessCmdKeys to false and see if it works for you.
Thanks!
|