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
and programed it to work with my bot code
sorry if wrong forum
ThanksQuote:
wrong forum go to the s4league forum
[Only registered and activated users can see links. Click Here To Register...]
Quote:
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
#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