toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Thu Feb 10, 2005 12:22 pm Post subject: Progressbar doesn't go back to Default color |
|
|
Please check this out:
Start Script, press Button
Progressbar doesn't go back to Default color.
| Code: | Gui, 1:add, progress, vMyProg w200 Range0-100,20
Gui, 1:add, button, ,Change
Gui, 1:show
return
GuiClose:
ExitApp
ButtonChange:
GuiControl, +cRed , MyProg,
GuiControl, , MyProg, 80
sleep, 1000
GuiControl, +cDefault , MyProg, ; this doesn't work
; GuiControl, -cRed , MyProg, ; this doesn't work either
GuiControl, , MyProg, 40
return |
_________________ Ciao
toralf  |
|