Link Search Menu Expand Document

ProgressBar.IsPopup Method

Explanation Check if it is displayed in a pop-up.

Pressing the cancel button in the pop-up window closes the window, so you can also use it to find out if the cancel button was pressed.
Call format var ret = pb.IsPopup( )
Return value If it is displayed in a pop-up, $TRUE is returned, otherwise $FALSE is returned.
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