Toolbar Members (Visio)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a group of toolbar items in a Microsoft Visio window.

Methods

Name

Description

Delete

Deletes an object.

Properties

Name

Description

BuiltIn

Determines whether an object is a default Microsoft Visio user interface object or a custom object. Read-only.

Caption

Gets or sets the caption for an object. Read/write.

Enabled

Determines whether or not an object is currently enabled. Read/write.

Height

Gets or sets the height of a toolbar. Read/write.

Index

Gets the ordinal position of a Toolbar object in a Toolbars collection. Read-only.

Left

Gets the distance in pixels between the left edge of the object and the left side of the docking area. Sets the distance in pixels between the left edge of an object and the left edge of the screen. Read/write.

Parent

Determines the parent of an object. Read-only.

Position

Gets or sets the position of an object. Read/write.

Protection

Determines how a Toolbar object is protected from user customization. Read/write.

RowIndex

Gets or sets the docking order of a Toolbar object in relation to other items in the same docking area. Read/write.

ToolbarItems

Returns the ToolbarItems collection of a Toolbar object. Read-only.

Top

Gets the distance between the top of an object and the top of the docking area or the top of the screen if the object isn't docked; it sets the distance between the top of a Toolbar object and the top of the screen. Read/write.

Visible

Determines whether an object is visible. Read/write.

Width

Gets the width of an object in pixels. Read/write.