DropDownControl.index Property

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

Description

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

Syntax

"dropDownControl_var" is a variable referencing a DropDownControl object.

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

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

Property Value

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

Version

Introduced in version August 2014