Jump to content

GUICtrlRead


Recommended Posts

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,

Link to comment
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.

 

Link to comment
Share on other sites

  • Moderators

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...