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, 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, 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