Jump to content

Recommended Posts

Posted

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

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

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
×
×
  • Create New...