This object represents a window showing a progress bar.
Constructor function.
var myObject = new ProgressDialog();
var myObject = new ProgressDialog(parameters);
var myObject = new ProgressDialog();
var myObject = new ProgressDialog({ title: "Please wait", value: 50 });
Sets the window's title.
myObject.setTitle(title);
Sets the window's position.
myObject.setPosition(point);
Sets the window's opacity.
myObject.setOpacity(opacity);
Sets the window's enabled status.
myObject.setEnabled(enabled);
Sets the window's visible status.
myObject.setVisible(visible);
Closes the window.
myObject.close();
Returns the window's title.
myObject.title();
Returns the window's position.
myObject.position();
Returns the window's opacity.
myObject.opacity();
Returns the window's enabled status.
myObject.enabled();
Returns the window's visible status.
myObject.visible();
Sets the progress value.
myObject.setValue(value);
Sets the label text.
myObject.setLabelText(labelText);
Sets the minimum value.
myObject.setMinimum(minimum);
Sets the maximum value.
myObject.setMaximum(maximum);
Sets the minimum and maximum value.
myObject.setRange(minimum, maximum);
Show the window. (non-blocking) Use the OnCanceled event to know when the window has been closed.
myObject.show();
Show the window. (blocking)
myObject.showModal();
Called when the window is canceled.
myObject.onCanceled = function() {};
myObject.onCanceled = function() { //Event action };
The window's title. (string)
The window's position. (Point)
The window's opacity. (float)
The window's enabled status. (boolean)
The progress bar's value. (integer)