ToolbarItem object

Microsoft Visio Developer Reference

ToolbarItem object

           Events

Toolbars (Toolbar) ToolbarItems (ToolbarItem) ToolbarItems (ToolbarItem)

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.

Version added

4.0

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.