I was trying to verify if this issue was fixed:
https://www.nevron.com/Forum/8787/NComboBox-AutoComplete-single-character-item-select-not-workingWhile it seems this issue has been fixed there is a severe regression with the NComboBox.
When you add the autocomplete list to the NComboBox you can no longer click with the mouse to select an item in the drop down list. When the text field is empty and you click the arrow to show the entire list you can't select from it. Once this code below from the previous append is called that feature is broken.
cboSymbols.EditControl.AutoCompleteMode = AutoCompleteMode.Suggest;
cboSymbols.EditControl.AutoCompleteSource = AutoCompleteSource.CustomSource;
AutoCompleteStringCollection ac = new AutoCompleteStringCollection();
ac.AddRange(syms);
cboSymbols.EditControl.AutoCompleteCustomSource = ac;
Can this be fixed soon?
Update: I later noticed that if I press the down arrow key while focus is on the text field of the combo I get this exception in the toolkit:
InvalidArgument=Value of '-1' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ListBox.ObjectCollection.get_Item(Int32 index)
at Nevron.UI.WinForm.Controls.NComboBox.OnSelectedIndexChanged()
at Nevron.UI.WinForm.Controls.NComboBox.OnVKArrow(Message m)
at Nevron.UI.WinForm.Controls.NComboBox.OnEditBoxMessage(Message& m)
at Nevron.UI.WinForm.Controls.lI1lI1I1.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)