WinForms ComboBox DropDown and Autocomplete window both appear

后端 未结 10 1299
礼貌的吻别
礼貌的吻别 2020-12-05 17:41

I\'ve got a ComboBox on a winforms app with this code:

comboBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
comboBox1.AutoCompleteSource         


        
10条回答
  •  半阙折子戏
    2020-12-05 18:18

    to only have one open at a time you can use comboBox1.Droppeddown = true open up the regular, false the AutoComplete will only appear

提交回复
热议问题