Link Search Menu Expand Document

ProgressBar.Create Method

Explanation Create a ProgressBar object.
This method is a static method. It can be called without creating an object.

It is used to generate a progress bar that pops up in a separate window using the Popup method.
Call format var pb = ProgressBar.Create( )
Return value Returns a ProgressBar object.
Arguments None
Exception None
Example of use
    var pb = ProgressBar.Create();
    pb.Width = 200;
    pb.Height = 20;
    pb.Step = 10;
    pb.Title = "Loading";
    pb.Popup($TRUE);
    for (var i = 0; i < 10; i++) {
        ...
        if (!pb.IsPopup()) {
            break;
        }
        pb.StepIt();
    }
    pb.PopupClose();
    
Related item Popup method