Toolbar.RowIndex property (Visio)

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

Syntax

expression.RowIndex

expression A variable that represents a Toolbar object.

Return value

Integer

Remarks

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.

Objects that have lower numbers are docked first. Several items can share the same row index. If two or more items share the same row index, the item most recently assigned is displayed first in its group.

Constants that represent the first and last positions (see the following table) are declared by the Visio type library in member VisUIBarRow.

Constant Value
visBarRowFirst 0
visBarRowLast -1

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.