Jump to content

Checkbox Not Registering...


sherkas
 Share

Recommended Posts

bah...

i made a checkbox. When I click it, and try to access weather its checked or not it wont work.

if ( GUICtrlGetState( $available ) = $GUI_CHECKED ) then

msgbox(0, "We are checked", "We are checked")

$selling[GUICtrlRead( $currentslot ) - 1] = 2

Else

msgbox(0, "We are not checked", "We are not checked")

$selling[GUICtrlRead( $currentslot ) - 1] = 1

EndIf

Basically when I click the button this is in, no matter if it was checked or not its return not checked.

WTF is wrong!?!?!?!?!!

driving me nuts.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...