[solved] combobox like in Google, with a drop-down list of suggestions

Just starting out? Need help? Post your questions and find answers here.
AZJIO
Posts: 73
Joined: Wed Dec 14, 2022 1:13 pm

[solved] combobox like in Google, with a drop-down list of suggestions

Post by AZJIO »

I tried to make a list like this, but my input field lost focus.

Code: Select all

BindGadgetEvent(#StrSearchAll, @CreateM4(), #PB_EventType_Focus)
Also I tried to generate the html file but I can't access it to show it as a search result.
Perhaps I should have hidden the WebGadget and shown the ListViewGadget in its place, then vice versa.

I did an export of all the words from the help file and got 11,000 words. I'll keep the list down to 1000 words. Next, when I enter 2 letters, I would like to display possible words for auto-completion and perform a search.

Used ListViewGadget(), works fine.