Sign in to follow this  
Followers 0
Glyph

Checkbox Detect checked help!

3 posts in this topic

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



#2 ·  Posted (edited)

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

Yes!, thank you Val!


tolle indicium

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