Link Search Menu Expand Document

ProgressBar.PopupClose Method

Explanation Close the window popped up by the Popup method.
Call format pb.PopupClose( )
Return value None
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