Jump to content

Recommended Posts

how to make my checkbox checked? i try :

$mycheckboxid = GuiCtrlCreateCheckbox("this is text", 70, 200, 100, 20)

GUICtrlSetData ($mycheckboxid,$GUI_CHECKED)

and i get the same unchecked check box... and just the text "this is text" changes to text "4"..... creepy thing :F

What function should I use?

Edited by Jammer
Link to post
Share on other sites

Hi Jammer o:)

GUICtrlSetData is primary used to update 'data' for a control, like text and so on.

You have to use GUICtrlSetState cause you want to change the selected/checked state of the control.



Edit: @SlimShady: what are you making the whole day? :)

Just a little more faster than me :lmao:

Edited by Holger
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...