ToolbarItem object (Visio)
Represents one item in a Toolbar object. A ToolbarItem object can represent a button, combo box, or any other item on the Microsoft Visio toolbars.
Note
Starting with Visio 2010, the Microsoft Office Fluent user interface (UI) replaced 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, but they function differently.
Remarks
The index of the ToolbarItem object within the ToolbarItems collection corresponds to its position on the toolbar, starting with zero (0) for the item farthest to the left if the toolbars are arranged horizontally.
Beginning with Microsoft Visio 2002, use the BeginGroup property to create spaces on a toolbar.
Methods
Properties
- ActionText
- AddOnArgs
- AddOnName
- BeginGroup
- BuiltIn
- Caption
- CmdNum
- CntrlType
- Enabled
- FaceID
- Index
- IsHierarchical
- PaletteWidth
- Parent
- State
- Style
- ToolbarItems
- TypeSpecific1
- TypeSpecific2
- Visible
- Width
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.