Jump to content

How do I get data from a Check Box?


 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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.

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...