2

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?

btmach
  • 375
  • 1
  • 7
  • 16
  • 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
  • 1
    this 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 Answers2

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.

Community
  • 1
  • 1
Joe White
  • 94,807
  • 60
  • 220
  • 330
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

Community
  • 1
  • 1
Rikalous
  • 4,514
  • 1
  • 40
  • 52