I'm using an UltraCombo and I have the DropDownStyle set to DropDownList. When the user types a letter, the control displays the first matching item starting with that letter. That's great. The users want to be able to type the same letter again and get the second item in the list starting with that letter. e.g. A state list where the user types I and gets Idaho. Then they type I again and Illinois, etc. I looked at all of the properties and looked around this forum but I don't see how to do it. Can this be done with the UltraCombo?
Set the AutoCompleteMode of the UltraCombo to AutoComplete.None and this will give you the behavior you are looking for:
this.ultraCombo1.AutoCompleteMode = AutoCompleteMode.None;
Let me know if you have any questions with this matter.
Thanks for the reply. I couldn't find the AutoCompleteMode property. I'm running ver 8.1. I did a little research and I found that AutoCompleteMode replaces AutoEdit. I tried combo.AutoEdit = AutoCompleteMode.None. It worked!! I was surprised though that the AutoCompleteMode enum was available in my version but the AutoCompleteMode property wasn't??
Anyway, it works. Thanks again!
There's no way to do this. In fact... I'm not sure I see how that could possibly work. If you press "I" and then press "I" again, how would the control know whether you wanted to go to the first item beginning with "II" or the second item that starts with "I"?
Thanks for the response. We are replacing a VB6 application. The current combo box will look for an item that has multiple characters that the user typed. If it does not exist in the list, then it goes to the next item starting with that character. It responds very quickly. The current combo is a user control and I don't have the code for it.
There's no built-in way to do this with UltraCombo. You could create your own combo and then handle the searching however you like, of course. It's not a trivial amount of code to write, but it's probably not as bad as you might think, because you can combine the UltraComboEditor with an UltraGrid control as it's dropdown.
UltraComboEditor - Can I Use a Custom Control for the DropDown? - Infragistics Community
I have a client that demands this behavior as that is how it worked in the VB6 application. Is there a solution for this yet?
I'm not sure I understand exactly what the issue was. It sounds like the problem was that if you press the same letter twice in a row too quickly (without a pause) that it didn't respond to the second keypress.
If that's the issue, then I can no longer reproduce that in the latest version (18.1). I tried it out in a quick sample with both UltraCombo and UltraComboEditor and they both respond immediately when I press the same letter more than once by selecting the next item on the list beginning with that letter.
I have attached my sample here in case you would to try it out with whatever version you are using and/or the trial version of 18.1 and compare.