WinForms ComboBox DropDown and Autocomplete window both appear

后端 未结 10 1267
礼貌的吻别
礼貌的吻别 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:15

    Add to the/a keypress event.

        Dim box As ComboBox = sender
        box.DroppedDown = False
    

提交回复
热议问题