BlueScreen Posted March 13, 2006 Posted March 13, 2006 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,
GaryFrost Posted March 13, 2006 Posted March 13, 2006 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.
BlueScreen Posted March 13, 2006 Author Posted March 13, 2006 if you mean a listbox, _GUICtrlListGetText($h_listbox, $i_index), requires beta thoyou could loop thru the list from 0 to _GUICtrlListCount($h_listbox) - 1Thanks, dude, it works
Moderators SmOke_N Posted March 13, 2006 Moderators Posted March 13, 2006 Thanks, dude, it works What he says usually does 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now