memnon Posted October 13, 2005 Posted October 13, 2005 Hello i have a array, the array is filled with dnsnames and is automaticle created via a search/ping function. i now want to get this computernames in a gui (what works already), but i do not know how i get back the state of the generated checkboxes, as you can see below... for $i=0 to 49 $down=$down+25 if $rechner[$i]<>"0"then GuiCtrlCreateCheckbox($rechner[$i], 10, $down, 100, 30) endif next normaly i would use a variable for the checkbox f.e. $check=GuiCtrlCreateChechbox,.... and then i would use GUICtrlRead($check) to read the value of the checkbox - in my case i dont know how this could be done - i need automaticle generated variables in this loop to get the states of all checkboxes what are generated... das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?
Valuater Posted October 13, 2005 Posted October 13, 2005 maybe like this Dim $check[55] for $i=0 to 49 $down=$down+25 if $rechner[$i]<>"0"then $checf[$i] = GuiCtrlCreateCheckbox($rechner[$i], 10, $down, 100, 30) endif next ******not tested but the idea does work 8)
memnon Posted October 14, 2005 Author Posted October 14, 2005 maybe like thisDim $check[55]for $i=0 to 49$down=$down+25if $rechner[$i]<>"0"then $checf[$i] = GuiCtrlCreateCheckbox($rechner[$i], 10, $down, 100, 30)endifnext******not tested but the idea does work8)thanks valuater, sometimes i am to stupid to see the easiest things... das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?
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