Combobox equal to Google search

0

How to do so that in the combobox I type letters and returns any text corresponding to those letters that I typed.

Example: I have a LisItem type list in the combobox

hi to all

Hi to all my haters

Hi to all of you

Hi to all my friends

hi to all people

... and I type "people" returns "hi to all people".

But I can only get back when I type the first few letters of the text.

Attentively

    
asked by anonymous 20.03.2015 / 18:34

1 answer

2

Use the AutoComplete of the combobox is the simplest way, but it really only works for the initials of text digitizing. In this link there is a solution doing the text search at hand, in the KeyUp event, it is in VB but it is easy to convert. link

    
20.03.2015 / 19:02