Jump to content
Sign in to follow this  
bittware

GUICtrlGetState Return state

Recommended Posts

Hello experts,

I use

If (GUICtrlGetState($Radio6) = $GUI_CHECKED) Then

to verify if this Radio6 has been checked or not.

But when I checked Radio6, GUICtrlGetState($Radio6) returns 80 which is not equal to $GUI_CHECKED(value of 1).

Could anyone explain it?

BRs,

bittware

Share this post


Link to post
Share on other sites

GuiCtrlRead() = "Checkbox, Radio state of the button. See State table"

GuiCtrlGetState() = "As opposed to GUICtrlRead this function returns ONLY the state of a control enabled/disabled/hidden/show/dropaccepted"

Edited by KaFu

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...