I am creating an enhanced ComboBox component. The feature I am currently adding is the ability to type the letters "b", "o", "b" and have it find "bob" in the dropdown. I have the code working reasonably well, in that it finds what I am looking for, and selects it.
The problem I am having is that if the dropdown is visible, it displays the correct item, but doesn't move the list to coincide with the item selected so I end up with; <bob> - The item selected abel bill bob chuck what I would like is; <bob> - The item selected bill bob - highlighted chuck don Does anyone know the method that will cause the dropdown to scroll to and highlight the selectedItem? As a kludge, I can close and reopen the combobox, but that looks nasty as a person is typing. On a related note, is there a way of telling whether the comboBox is open or closed? Paul