[Gambas-user] ComboBox as a SearchBox?

Rolf-Werner Eilert rwe-sse at ...3629...
Fri May 19 08:47:01 CEST 2017


Am 18.05.2017 20:18, schrieb Matti:
> My idea was: entering the beginning of a word in a ComboBox, the list should display all the possible matches, then either select from the list or narrow the search by entering more letters.
> This works perfect - but when I fill the list with the matches, my search string (= ComboBox.Text) is overridden with the first result of the search. So there is no chance of searching farther.
>
> Ok, I have built the same now with a TextBox to search and a ListBox to show the results, but I still wonder why. It would be far more elegant...


Just a vague idea - have you tried leaving the first entry out or blank 
when you fill the list?

Regards
Rolf






More information about the User mailing list