ToolbarControlList.itemById Method
Parent Object:
ToolbarControlListDefined in namespace "adsk::core" and the header file is <Core/UserInterface/ToolbarControlList.h>
Description
Returns the ToolbarControl at the specified ID.
Syntax
"toolbarControlList_var" is a variable referencing a ToolbarControlList object.returnValue = toolbarControlList_var.itemById(id)
|
"toolbarControlList_var" is a variable referencing a ToolbarControlList object.
#include <Core/UserInterface/ToolbarControlList.h>
returnValue = toolbarControlList_var->itemById(id);
|
Return Value
ToolbarControl |
Returns the ToolbarControl with the specified ID or null if no control has this ID. |
Parameters
id |
string |
The ID of the control within the collection to return. |
Version
Introduced in version August 2014