This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
UpdateProgressBar
Hello World
Updates the progress percentage of a ProgressBar.
app.UpdateProgressBar(
percent
,
options
)
See Also:
ShowProgressBar
,
HideProgressBar
.
Example - Progress Bar
click to expand contents
function
OnStart
(
)
{
app
.
ShowProgressBar
(
"Loading..."
)
;
for
(
prog
=
0
;
prog
<
100
;
prog
++
)
app
.
UpdateProgressBar
(
prog
)
;
app
.
HideProgressBar
(
)
;
}
Copy
Copy All
Run
Number:
percent
String:
“
doevents
”
loading