Jump to content
Sign in to follow this  
Glyph

Checkbox Detect checked help!

Recommended Posts

Glyph

I read the help file and i cannot seem to find what command it is that will check to see if the checkbox is check, i seen something about a bitAND, but i lost it, any help would be greatly appreciated!, i did a search on the forums and found nothing but an old outdated script!


tolle indicium

Share this post


Link to post
Share on other sites
Valuater

per help GUICtrlRead

For Checkbox, Radio control several states can be returned as $GUI_FOCUS and $GUI_CHECKED,. So use i.e. BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked.

Use

If BitAnd(GUICtrlRead($Item),$GUI_CHECKED) = $GUI_CHECKED Then
; do your stuff
EndIf

8)

Edited by Valuater

NEWHeader1.png

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.