I got this working finally, but I have another problem. I have an older computer without a keypad, so I added an external numpad. The top number keys work just fine, but searchbox does not recognize numbers from keypad. I used code below to see which keycode is being sent.
Select Case e.KeyCode...
I created single routine that can be used from any combobox
Then call this routine from any form to create searchable combobox
Public Sub highlighttext(ThisCombobox As ComboBox)
' Store the actual text that has been typed.
actual = ThisCombobox.Text
' Find the first...
I have following code to search combobox which I need to repeat in different forms and different comboboxes
I am using from key up event
Private Sub ComboBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyUp
' Store the actual text that has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.