Initialize a new progress bar.

syntaxSyntax:
DlxProgressBar.Show(title, upper = 100, lower = 0)

Parameters

Parameter Description
title Title of the progress bar.
upper Specifies the upper limit of the range (default is 100).
lower Specifies the lower limit of the range (default is zero).

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code
var bar = DlxApp.GetProgressBar();
bar.Show("ProgressBar");
for (var i = 0; i < 100; i++)
{
  bar.StepIt();
  DlxApp.Delay(20);
}

See also