How would I remove the arrow from a combobox in windows forms? I've looked through the "Properties"-panel and found no solution there, is this possible at all?
Asked
Active
Viewed 2,435 times
2
-
I don't know if you can, you might have to create a custom control if you can't find it. – Hayden Feb 02 '15 at 13:01
-
I think you need to change the style of the combobox. It can't be done easily, with a parameter :( – Dimitri Mockelyn Feb 02 '15 at 13:03
-
1this is the look and feel of combobox in winform. How do you tell the user it is a _clickable, downward expandable_ list, not an edit control? – kennyzx Feb 02 '15 at 13:06
-
I only want to make the combobox searchable with multiple objects, I don't want the whole list to show up? – btmach Feb 02 '15 at 13:06
-
The real question is: why are you looking for a way to remove the button? What is a combobox without the button? – LPs Feb 02 '15 at 13:06
-
I want to create a search field with autocomplete for two different objects :) – btmach Feb 02 '15 at 13:09
2 Answers
1
In a comment, you mentioned that your actual goal is to have auto-complete.
For auto-complete, you don't use a ComboBox; you use a TextBox and set some extra properties. See this question for an answer on how to accomplish that.
0
It sounds like you just need a text box then with autocomplete functionality, several links here: How to make an auto-complete textbox in a winforms desktop application