zemkor Posted May 22, 2015 Posted May 22, 2015 Hello, i have another question. I have inputbox $N1... $N50How to use variables ? My solution not working, Thanks for answer. For $i = 1 To 50 Step +1 $x = $N & $i $y = $S & $i If GUICtrlRead($x) = "" Then Else GUICtrlSetState($y, $GUI_CHECKED)
zemkor Posted May 22, 2015 Author Posted May 22, 2015 Hello, i have another question. I have inputbox $N1... $N50How to use variables ? My solution not working, Thanks for answer. For $i = 1 To 50 Step +1 $x = $N & $i $y = $S & $i If GUICtrlRead($x) = "" Then Else GUICtrlSetState($y, $GUI_CHECKED)
Developers Jos Posted May 22, 2015 Developers Posted May 22, 2015 Use an Array for holding your GUICtrl input handles and read them in your loop.Not sure what the $y values is supposed to be.For $i = 1 To 50 Step +1 If GUICtrlRead($hGui[x]) = "" Then Else GUICtrlSetState($y, $GUI_CHECKED) EndIf NextJos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted May 22, 2015 Developers Posted May 22, 2015 (edited) Please stop double posting the same question in separate topics.Will be merged.Jos Edited May 22, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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