Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
How to use AutoCompleteMode in UltraComboEditor?
posted

Hello,

I have implemented AutoCompleteMode using UltraComboEditor. I want two functionalities concerned with the AutoCompleteMode. I’ve attached my source codes (UltraComboEditor.zip).

In the initial execution screen of my source codes, I have total 9 columns and I can dynamically generate each row by using ‘SetList’ or ‘AddLine’ button. 

In Opcode lines, after adding rows, I have implemented UltraComboEditor to perform AutoCompleteMode. As I mentioned, I want two functionalities. One of which is that I want to show all items in a list that have some words for AutoCompleteMode when I focus on the ‘Opcode’ column without any input character. Second one is that I want autocomplete of words in my list for any prefix characters. For example, I have a list composed to ‘abc’, ‘abs’, ‘sabs’, ‘bcs’, and ‘bbs’. In this situation, if I give the character ‘a’ as input, then the combo box automatically shows ‘abc’, ‘abs’, and ‘sabs’. And if I give two characters ‘bc’, then the combo box automatically shows ‘abc’ and ‘bcs’. In my source codes, These kinds of functionalities are not run. I’ve written the code “combo.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;” at line 197 in Form1.cs.

Please let me know how to modify my codes to run above two functionalities.

Thanks in advance.

UltraComboEditor.zip