Necromorph Posted March 1, 2010 Posted March 1, 2010 im just trying to figure out the best way if any to list what is retruned from _filelisttoarray to a combobox, and i want to assign those to a $var. $server="server" ;part of another gui, im just testing this part $names=_FILELISTTOARRAY("\\"& (GUICTRLREAD($server)) &"\test\", "client-*.config", 1) GUICREATE ("test names", 500, 500) GUICTRLCREATELABEL("Names", 25, 25) GUICTRLCREATECOMBO($names, 25, 50, 250) GUISETSTATE() SLEEP(100000) thanks for any help.
kaotkbliss Posted March 1, 2010 Posted March 1, 2010 maybe something like this will get you started? $server="server" ;part of another gui, im just testing this part $names=_FILELISTTOARRAY("\\"& (GUICTRLREAD($server)) &"\test\", "client-*.config", 1) GUICREATE ("test names", 500, 500) GUICTRLCREATELABEL("Names", 25, 25) $combo=GUICTRLCREATECOMBO($names, 25, 50, 250) GUISETSTATE() SLEEP(100000) For $i=1 to UBound($names)-1 GUICtrlSetData($combo,$names[$i]&"|") Next 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
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