mashrino

multiple checkbox selection

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now