[Gambas-user] ComboBox as a SearchBox?

Matti matti.eber at ...3240...
Fri May 19 09:35:35 CEST 2017


Thanks, Rolf.
Good idea. Now, I have set the search string on first position of the list.
But something ist still wrong - I'll investigate.
Matti

Am 19.05.2017 um 08:47 schrieb Rolf-Werner Eilert:
> 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
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list