ProgressDialog.wasCancelled Property

Parent Object: ProgressDialog
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/ProgressDialog.h>

Description

Indicates if the cancel button was selected the last time the Progress Dialog was shown.

Syntax

"progressDialog_var" is a variable referencing a ProgressDialog object.

# Get the value of the property.
propertyValue = progressDialog_var.wasCancelled
"progressDialog_var" is a variable referencing a ProgressDialog object.
#include <Core/UserInterface/ProgressDialog.h>

// Get the value of the property.
boolean propertyValue = progressDialog_var->wasCancelled();

Property Value

This is a read only property whose value is a boolean.

Samples

Name Description
Progress Dialog API Sample Demonstrates how to use progress dialog

Version

Introduced in version January 2016