BlueScreen 0 Report post 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, Share this post Link to post Share on other sites
GaryFrost 11 Report post 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. Share this post Link to post Share on other sites
BlueScreen 0 Report post 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 Share this post Link to post Share on other sites
SmOke_N 199 Report post 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. Share this post Link to post Share on other sites