Command.okButtonText Property
Parent Object:
CommandDefined in namespace "adsk::core" and the header file is <Core/UserInterface/Command.h>
Description
Gets and sets the text displayed on the OK button. When the OK and Cancel buttons are displayed, this text defaults to "OK". If the Cancel button is not displayed the text defaults to "CLOSE".
Syntax
"command_var" is a variable referencing a Command object.
# Get the value of the property. propertyValue = command_var.okButtonText
# Set the value of the property. command_var.okButtonText = propertyValue
|
"command_var" is a variable referencing a Command object.
#include <Core/UserInterface/Command.h>
// Get the value of the property. string propertyValue = command_var->okButtonText();
// Set the value of the property, where value_var is a string. bool returnValue = command_var->okButtonText(value_var);
|
Property Value
This is a read/write property whose value is a string.
Version
Introduced in version June 2015