Glyph Posted January 24, 2007 Share Posted January 24, 2007 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 Link to comment Share on other sites More sharing options...
Valuater Posted January 24, 2007 Share Posted January 24, 2007 (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 January 24, 2007 by Valuater Link to comment Share on other sites More sharing options...
Glyph Posted January 24, 2007 Author Share Posted January 24, 2007 Yes!, thank you Val! tolle indicium Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now