Stop Ding Sound on pressing enter key in vb.net
-
03 Agustus 2012 8:01
I am creating a textbox inheriting the default textbox
I write some code in keypress event like the sample below, sothat user can move to next field by pressing enter key
SendKeys.Send("{TAB}")
e.Handled = true
But Ding sound does not stop
I tried it in KeyDown event also
But same results
I have tried e.suppressKeypress also
Can anyone help me?
Semua Balasan
-
03 Agustus 2012 8:28
Setting
e.suppressKeypress = True
works here. No bing ding dong ring.
Armin
- Disarankan sebagai Jawaban oleh Raymai97 03 Agustus 2012 12:16
- Ditandai sebagai Jawaban oleh Vishal1419 03 Agustus 2012 15:42
-
03 Agustus 2012 9:36
Have a look at this thread. Maybe the same thing is happening with you? http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/1c98ae86-9ef8-4741-8050-5d26bf9b4cd4
I don't know how to simulate your problem so it's difficult to assist you.
You've taught me everything I know but not everything you know.
- Diedit oleh Mr. MonkeyboyMicrosoft Community Contributor 03 Agustus 2012 10:00