Table of Contents

ShowProgressBar

Description

The ShowProgressBar method shows a popup progress window with a spinning animation and message text with percentage progress shown in percent parameter.

This window will remain visible until app.HideProgressBar() is called.

 app.ShowProgressBar( text, percent );

See also: HideProgressBar, UpdateProgressBar


Example

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 );
}