Jump to content
Sign in to follow this  
BlueScreen

GUICtrlRead

Recommended Posts

BlueScreen

All,

I have been using GUICtrlSetData in order to put into a list some text. Now, using GUICtrlRead will give me the selected value. Is there a way to have all content of the list into an array?

I don't want to put it into an array BEFORE the user put the info into the list but only AFTER...

How to do that? Should I use something else? :)

Thanks,

Share this post


Link to post
Share on other sites
GaryFrost

if you mean a listbox, _GUICtrlListGetText($h_listbox, $i_index), requires beta tho

you could loop thru the list from 0 to _GUICtrlListCount($h_listbox) - 1


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
BlueScreen

if you mean a listbox, _GUICtrlListGetText($h_listbox, $i_index), requires beta tho

you could loop thru the list from 0 to _GUICtrlListCount($h_listbox) - 1

Thanks, dude, it works :)

Share this post


Link to post
Share on other sites
SmOke_N

Thanks, dude, it works :)

What he says usually does :mellow:

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.

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  

×