If your mouse is in the TextBoxArea of the WinComboBox when you open it and you already have a SelectedItem assigned to it, the highlighted item will be the one the mouse is on. This behavior is fine, however when you press an arrow key (up key or down key) the highlighted will be the one just before of after your original SelectedItem NOT the one before or after the CURRENT highlighted one (which is the one the mouse is pointing).
Here’s an example with screenshots :
[IMG]http://i43.tinypic.com/6p9ox1.jpg[/IMG]
Item 1 is selected.
Now we open the combobox and we hover the mouse on another item in the list
[IMG]http://i40.tinypic.com/5lduza.jpg[/IMG]
Here’s the result after pressing the DOWN ARROW KEY once
[IMG]http://i41.tinypic.com/xp2fea.jpg[/IMG]
Notice that the new selected item is “item 2” but should be “item 6”. If you repeat the same steps with .NET’s ComboBox control, the selected item will be “item6” and to be honest it makes more sense for the user. So is this a bug ? If it is, is there an easy way to fix it.
Tested on .NET 2.0, Xceed Grid 3.1.6353.0
Imported from legacy forums. Posted by Carl (had 1068 views)