Sign in to follow this  
Followers 0
MajSlayer420

How do I get data from a Check Box?

2 posts in this topic

How do I get a TRUE or FALSE int variable data from this checkbox code?

Also how do I update this variable during program flow? so that I can keep track of the checkbox status while program is in operation

$Checkbox1 = GUICtrlCreateCheckbox("Use sound", 7, 69, 221, 17)

I used Koda and am new to AutoIt and GUI programing in general.

Simple code would help, im really new to using forms.

Thanks in advance:

MajSlayer420

Share this post


Link to post
Share on other sites



How do I get a TRUE or FALSE int variable data from this checkbox code?

Also how do I update this variable during program flow? so that I can keep track of the checkbox status while program is in operation

$Checkbox1 = GUICtrlCreateCheckbox("Use sound", 7, 69, 221, 17)

I used Koda and am new to AutoIt and GUI programing in general.

Simple code would help, im really new to using forms.

Thanks in advance:

MajSlayer420

Look in the help file under the control you are creating, there is an example of how to tell whether it is checked or unchecked.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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
Sign in to follow this  
Followers 0