mashrino Posted September 24, 2015 Posted September 24, 2015 Hi guys,I have 20 checkboxes. Each checkbox has one function with it. If I select say 15 out of 20 checkboxes , only 15 checkboxes related functions has to be performed. Can you please help me on this.Thanks.
mikell Posted September 24, 2015 Posted September 24, 2015 Where is the problem ?Case $button If GuiCtrlRead($checkbox1) = $GUI_CHECKED Then _Func1() If GuiCtrlRead($checkbox2) = $GUI_CHECKED Then _Func2() ; etc
JohnOne Posted September 24, 2015 Posted September 24, 2015 One easy way would be to loop through and call all functions, but add a check in each.Func CheckBox1Func() If Not GUICtrlGetState($CheckBox1) Then Return EndIf ;Carry out your operation Endfunc AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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