DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:hide_progress_bar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:hide_progress_bar [2015/03/26 18:07] (current)
madlyr created
Line 1: Line 1:
 +=====HideProgressBar=====
  
 +====Description====
 +
 +The **HideProgressBar** method hides any previously shown popup progress window which was shown using the [[built_in:​show_progress_bar|app.ShowProgressBar()]] method.
 +
 +<​code>​ app.HideProgressBar();</​code>​
 +
 +See also: [[built_in:​show_progress_bar|ShowProgressBar]],​ [[built_in:​update_progress_bar|UpdateProgressBar]]
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  app.ShowProgressBar( "​Processing...",​ 0 );
 +  setTimeout( "​app.UpdateProgressBar(25)",​ 1000 );
 +  setTimeout( "​app.UpdateProgressBar(50)",​ 2000 );
 +  setTimeout( "​app.UpdateProgressBar(75)",​ 3000 );
 +  setTimeout( "​app.UpdateProgressBar(100)",​ 4000 );
 +  setTimeout( "​app.HideProgressBar()",​ 4100 );
 +}
 +
 +</​code>​
built_in/hide_progress_bar.txt ยท Last modified: 2015/03/26 18:07 by madlyr