Groups | Blog | Home
all groups > vb.net controls > may 2004 >

vb.net controls : ENTER KEY PRESSING IN COMBOBOX


msnews.microsoft.com
5/7/2004 8:56:23 PM
Hello.
Tell me please, how can I disable beep on "Enter" key press in ComboBox?
I try to do so on key press event:
-------------------------------
If e.KeyChar = vbCr Then
e.Handled = True
' Do somethimg
End If
-------------------------------
It works fine for TextBox control, but in ComboBox control there is still a
beep when I press "Enter"
So, tell me please, how can I disable beep on "Enter" key press in ComboBox?

hirf-spam-me-here NO[at]SPAM gmx.at
5/8/2004 5:25:09 PM
* "msnews.microsoft.com" <david_dvali@hotmail.com> scripsit:
[quoted text, click to view]

Did you already have a look here?

<URL:http://groups.google.de/groups?q=dotnet+combobox+beep>

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button