[Gambas-user] ComboBox as a SearchBox?

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri May 19 00:33:11 CEST 2017


this are in a gambas web project or gambas desktop project?

i search for something similar .. how do you doing..

my idea was using json.. but on desktop can be a pain!

for search, in the input box, made a query with json to a collection with
preloaded data from database

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-05-18 13:48 GMT-04:30 Matti <matti.eber at ...3240...>:

> 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...
> ------------------------------------------------------------
> ------------------
> 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