ToolbarControl.index Property

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

Description

Gets the position of this control within the list of controls within the panel, toolbar, or drop-down control.

Syntax

"toolbarControl_var" is a variable referencing a ToolbarControl object.

# Get the value of the property.
propertyValue = toolbarControl_var.index
"toolbarControl_var" is a variable referencing a ToolbarControl object.
#include <Core/UserInterface/ToolbarControl.h>

// Get the value of the property.
uinteger propertyValue = toolbarControl_var->index();

Property Value

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

Version

Introduced in version August 2014