My problem is similar to this one: How can I dynamically change auto complete entries in a C# combobox or textbox?
But I still don’t find solution.
The problem briefly:
I have an ComboBox and a large number of records to show in it. When user starts typing I want to load records that starts with input text and offer the user for autocomplete.
As described in the topic above I can’t load them on сomboBox_TextChanged because I always overwrite the previous results and never see them.
Can I implement this using only ComboBox? (not TextBox or ListBox)
I use this settings:
сomboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
сomboBox.AutoCompleteSource = AutoCompleteSource.CustomSource;
Here is my final solution. It works fine with a large amount of data. I use
Timerto make sure the user want find current value. It looks like complex but it doesn’t.Thanks to Max Lambertini for the idea.
This solution isn’t very cool. So if someone has another solution please share it with me.