Share

Command.cancelButtonText Property

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

Description

Gets and sets the text displayed on the Cancel button. The value of this property is ignored if the isCancelButtonVisible property is false.

Syntax

"command_var" is a variable referencing a Command object.

# Get the value of the property.
propertyValue = command_var.cancelButtonText

# Set the value of the property.
command_var.cancelButtonText = propertyValue

Property Value

This is a read/write property whose value is a string.

Version

Introduced in version June 2015

Was this information helpful?