Jump to content
Sign in to follow this  
darcaro

combo box search question

Recommended Posts

darcaro

I have a combo box in my gui, using GuiCtrlCreateCombo and have populated it using GUICtrlSetData. Is there any way to be able to quickly search through the list, by typing one of the entries, and having it find my match? I looked through the help file and could not find the relevant command. Any help would be greatly appreciated!

Share this post


Link to post
Share on other sites
gsglive

Use _ArrayCreate and there's something like _ArraySearch.

- gsglive


- gsglive

Share this post


Link to post
Share on other sites
PsaltyDS

I have a combo box in my gui, using GuiCtrlCreateCombo and have populated it using GUICtrlSetData. Is there any way to be able to quickly search through the list, by typing one of the entries, and having it find my match? I looked through the help file and could not find the relevant command. Any help would be greatly appreciated!

In the help file: _GUICtrlComboFindString()

:rolleyes:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
darcaro

Thank you both for your help - after a little research the solution to my problem was

_GUICtrlComboAutoComplete - this does exactly what I want... to quickly search through the data in a combo box!!

thank you!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×