✅ UI winforms combobox issue

Good day, I have an issue with the combobox in winforms. When I type text after clicking the arrow, it brings up both menus as seen in the image attached. I would like it to not do this and hopefully just bring up one menu like how it does for when you click the text in the combo box, and type. It seems to lock the menu when clicking the arror so typing now shows two menus.
No description
3 Replies
leowest
leowest8mo ago
well it happens because of the auto complete, perhaps instead use a textbox with autocomplete instead of a combobox? or set an event that disables the dropdown while typing or the other way around disable autocomplete when the dropdown is open https://stackoverflow.com/a/24675230/342740
SparkyCracked
SparkyCrackedOP8mo ago
@leowest Thank you, I ended up using this answer about 10 min after posting this: https://stackoverflow.com/questions/3064780/winforms-combobox-dropdown-and-autocomplete-window-both-appear It's one line of code and all you do is add it to the event handler 'keydown' The reason it is a combobox is due to the fact that the people using it sometimes don't need to type. It's only one user who somehow had this weird issue but it is solved now at least Thank you! $close
MODiX
MODiX8mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server