Profile Picture

NComboBox severe regression in build 15.5.5.12

Posted By Craig Swearingen 6 Years Ago
Author
Message
Craig Swearingen
Problem Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 99, Visits: 654
I was trying to verify if this issue was fixed:
https://www.nevron.com/Forum/8787/NComboBox-AutoComplete-single-character-item-select-not-working

While 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)


Nevron Support
This post has been flagged as an answer
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 10 hours ago
Posts: 2,962, Visits: 3,363
Hello Craig,

It will be fixed in the next service pack.

Thank you for notice it and sorry for the inconvenience.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic