Sign in to follow this  
Followers 0
BlueScreen

GUICtrlRead

4 posts in this topic

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



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

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

Thanks, dude, it works :)

What he says usually does :mellow:

[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

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