|
You last visited: Today at 01:17
Advertisement
[ HELP ]Start button
Discussion on [ HELP ]Start button within the AutoIt forum part of the Coders Den category.
12/04/2014, 14:14
|
#1
|
elite*gold: 0
Join Date: Jul 2014
Posts: 2
Received Thanks: 0
|
[ HELP ]Start button
hi everyone, sr about my english.
i used KODA Form and creat two button start / stop, but how i can create only one button START, when i click START, it turn to STOP and run the scripts, and click STOP, it stop the scritp and turn to START.
Thx very much !
|
|
|
12/04/2014, 15:10
|
#2
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
Quote:
Originally Posted by nhoklipice
hi everyone, sr about my english.
i used KODA Form and creat two button start / stop, but how i can create only one button START, when i click START, it turn to STOP and run the scripts, and click STOP, it stop the scritp and turn to START.
Thx very much !
|
Code:
Dim $run, $textBtn[2] = ["Start","Stop"]
GUICreate("GUI", 150, 100, Default, Default, 0x10C80000)
$btn = GUICtrlCreateButton($textBtn[$run], 10, 10, 130, 80)
Do
$msg = GUIGetMsg()
If $msg = $btn Then
$run = Not $run
GUICtrlSetData($btn, $textBtn[$run])
EndIf
If $run Then
;<actions>
EndIf
Until $msg=-3
|
|
|
12/04/2014, 15:16
|
#3
|
elite*gold: 0
Join Date: Jul 2014
Posts: 2
Received Thanks: 0
|
this code it start, but can't stop !
|
|
|
 |
Similar Threads
|
Anyone Can Help me/Start Button
06/11/2013 - Flyff Private Server - 11 Replies
After i add the arena score system , my start button or the menu button gone i dont know why , can anyone know this problem .
heres the picture , hope you can help me
|
The Start button?
01/10/2011 - Grand Chase - 13 Replies
So umm... Is the start button suppose to be deactivated? I noticed that for my patcher, it auto starts. Sometimes i just wanna patch w/o starting the game.
Does that happen to anyone else?
Does anyone know how to alter the patcher to change this?
|
SRO Start Button
06/07/2009 - Silkroad Online - 4 Replies
So my friend got problem with start button...(he's too stupid to post own thread lol...)When he runs sro start button won't appear.He tried everything.He went to silkroad official site and then tried and it didn't worked.He tried on ecsro and same problem.Problem may be in his connection?idk.
Don't post run sro and wait few minutes couz he tried it already.
|
Help Start Button
04/14/2009 - Silkroad Online - 3 Replies
Everytime i start up SRO the start button doesnt appear and i checkd joymax website for a fix and they said it was a firewall but i dont have a firewall and my client version is v1.180 and i saw somewhere that the client version was 1.184 so im guessin the my so called firewall is blocking it from updating and i need some help
|
start button
04/14/2008 - Silkroad Online - 4 Replies
hi all
from the latest 10 hours, wen i open the game. every time the start button dont appeard.
end sometimes is says, the server is upgradein or somting like this. i dont know waht to do,
plizz somone help mi (wen this hapend before wen i was log in to silkroad site its fix this problem) but now nothing help, even reinstall of the game not fix it. i hev a primium, end i loss this time
im sory if my english is not good.
|
All times are GMT +1. The time now is 01:17.
|
|