darkphoinix |
|
| Salve sto provando da giorni ormai senza uscirne a capo con la progress bar am ho notato che non accetta valori più grandi di 100, sbaglio io qualcosa? Cioè la barra verde si ferma al valore di 100 mentre in realtà ci sarebbe ancora del lavoro da svolgere sino a 200 infatti a 100% si ferma la barra verde ma il valore continua sino a 200% anche se la barra è bella che finita! CODICE Global $inizio =1 Global $fine =200 Global $Step
Example()
Func Example() $Step = (100 / $fine)
; Display a progress bar window. ProgressOn("Progress Meter", "Increments every second", "0%")
; Update the progress value of the progress bar window every second. For $i = $inizio To $fine Step $Step Sleep(50) ProgressSet($i, $i & "% " & $i) Next ; Set the "subtext" and "maintext" of the progress bar window. ProgressSet(100, "Done", "Complete") Sleep(3000)
; Close the progress window. ProgressOff() EndFunc ;==>Example Attached Image: imm
|
| |