I have trouble understanding how the GUI works.
I would like to understand how to make the same checkbox turn on and off an imagesearch label.
Imagesearch is always working, in some tests I was only able to turn label on with the checkbox, but I can't turn off the label with the same checkbox.
Code: Select all
Gui, Add, Text, x12 y9 w100 h20, gImageS1, ImageS1
Gui, Add, CheckBox, x12 y29 w100 h30 , On/Off ;
Gui, Add, Text, x12 y69 w100 h30, gImageS2, ImageS2
Gui, Add, CheckBox, x12 y99 w100 h30 , On/Off ;
Gui, Add, Text, x12 y139 w100 h30, gImageS3, ImageS3
Gui, Add, CheckBox, x12 y159 w100 h30 , On/Off ;
Gui, Show, w436 h314, Testing
return
GuiClose:
ExitApp