I need a simple GUI box (just like a msgbox), where I can show the program status / progress / flow.
I put it in a function, and I will call it one time and after that, I want that
the updated letters (A - E) will show up. One after another.
But I have this error:
What can I do to improve this?
Thanks in advance!
This is what I have right now:
Code: Select all
Progress_GUI_Box(Update_TXT)
{
Gui,+AlwaysOnTop
GUI_Titel := "Bla bla"
gui, Font, s12
Gui, Add, Edit, x2 y-1 w670 h150 gTXT vUpdater_TXT, %Update_TXT%
Gui, Show, x1356 y86 h158 w682, %GUI_Titel%
TXT:
GuiControl,,Updater_TXT, %Update_TXT%
return
}
^q::
Progress_GUI_Box(Update_TXT)
Update_TXT := "A"
sleep 1000
Update_TXT := "B"
sleep 1000
Update_TXT := "C"
sleep 1000
Update_TXT := "D"
sleep 1000
Update_TXT := "E"
sleep 1000