RowIndex property

Microsoft Visio Developer Reference

RowIndex property

   Example   

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

Version added

2000

Syntax

intLong = object.RowIndex
object. RowIndex = intLong

object

Required. An expression that returns a MenuSet or Toolbar object.

intLong

Required Integer.

Remarks

Objects with 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 representing 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