Question

03/03/2017 10:01 elwany#1
Please guys how i can make Stop / Start in Same Button in Koda form design

and programed it to work with my bot code

sorry if wrong forum
03/03/2017 10:37 salzhaufen40#2
wrong forum go to the s4league forum

[Only registered and activated users can see links. Click Here To Register...]
03/03/2017 10:47 elwany#3
Quote:
Originally Posted by salzhaufen40 View Post
wrong forum go to the s4league forum

[Only registered and activated users can see links. Click Here To Register...]
Thanks
03/03/2017 16:20 xKemya#4
Quote:
Originally Posted by elwany View Post
Please guys how i can make Stop / Start in Same Button in Koda form design

and programed it to work with my bot code

sorry if wrong forum
Code:
#include <GUIConstantsEx.au3>

$Form1 = GUICreate("uq0w", 270, 148, 192, 124)
$Button1 = GUICtrlCreateButton("Start", 8, 8, 75, 25)
$Button2 = GUICtrlCreateButton("Stop", 8, 8, 75, 25)
GUISetState(@SW_SHOW)
GUICtrlSetState($button2, $GUI_HIDE)

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $button1
            GUICtrlSetState($button1, $GUI_HIDE)
            GUICtrlSetState($button2, $GUI_SHOW)
        Case $button2
            GUICtrlSetState($button1, $GUI_SHOW)
            GUICtrlSetState($button2, $GUI_HIDE)
    EndSwitch
WEnd
This is simple shit... I assume you are working on a c&p project.
03/04/2017 15:27 K1ramoX#5
[Only registered and activated users can see links. Click Here To Register...]

closed