If I do not understand the question, I think the answer you are looking for is the onChange event, then use ComboBox.Items [ComboBox.ItemIndex] to get the selected item.
EDIT: you can also check if ComboBox.ItemIndex <> -1 is in the onChange event. Using this, you can bypass your important event code every time a letter is typed.
Although I just did a quick test, there is still a problem that after selecting an item, any input will be selected after it is not captured by "itemIndex <> -1", since it was installed. Although this seems like a good start.
source share