01-31-2025 02:26 AM
Hello,
i have a combobox on a GUI, which is filled with strings from a database. The selection of the correct string to use later, is done by the drop down menu, clicking the arrow and choosing the correct string, or by typying on the keyboard the correct string, if the user knows it. Is there a way to filter the strings while user types? I mean, suppose the list of the combobox is:
hello.txt
help.txt
hot.txt
huge.txt
...
when operator starts to type and pushes "he", only the strings including "he" will be shown into the combobox, in the example:
hello.txt
help.txt.
Is there a way to refresh the list in the combobox at run-time in that way?
Thank you
01-31-2025 03:03 AM
Hi Johnny,
@johnny_74 wrote:
Is there a way to refresh the list in the combobox at run-time in that way?
I used a separate string control where the user could type its text. This text was used to filter the array of available strings and to set the listbox (in my case)…
You could do the same and change the items of the combobox. (I prefer listboxes…)
01-31-2025 03:11 AM
Hi GerdW,
it's an idea.
I will try with listboxes too.
Thank you very much for reply
Best REgards
J