Sign in to follow this  
Followers 0
Angel

Get The List Of Items In A Combo Box

4 posts in this topic

Hi,

I've looked on the help and on the forums. Sorry if this is evident for you guys.

There is not a GuiCtrlGetData counterpart to GuiCtrlSetData. For comboboxes I can use GuiCtrlSetData to set the list of items on the combobox and GuiCtrlRead to get the current item, but I cannot get the list of items from the combobox (or at least I don't know how).

I am trying to create a "history" combobox which I want to update on the fly. Before exiting my application I want to save that list of items (the latest history) into the registry, but I don't know how to read the combo item list.

Any help? Thanks!!!

Angel

Share this post


Link to post
Share on other sites



in beta check out

_GUICtrlComboGetList

Share this post


Link to post
Share on other sites

in beta check out

_GUICtrlComboGetList
Nice, I didn't even notice that was in there, along with a lot of other ones I'd never used and always made harder work arounds for lol.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

in beta check out

_GUICtrlComboGetList
Thanks! That works great!

Angel

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  
Followers 0