ToolbarSet.SetID Property (Visio)
Published: July 16, 2012
Returns the set ID of an ToolbarSet object in its collection. Read-only.
Starting with Microsoft Visio 2010, the Microsoft Office Fluent user interface (UI) replaces the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio 2013, but they function differently.
Each ToolbarSet object has a set ID that corresponds to a Microsoft Visio window context. For ToolbarSet objects, they also correspond to drop-down menus under toolbar buttons (such as Fill Color or Line Weight).
You can retrieve an object from its collection by passing the object's set ID to the ItemAtID property. You can also set the set ID of an object by using the AddAtID method.
Valid set ID values are declared by the Visio type library in VisUIObjSets.