Position property

Position property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets or sets the position of an object.

Version added

2000

Syntax

        
          intRet = object.Position
      
        
          object.Position = intExpression
      

intRet

Integer. The object's position.

object

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

intExpression

Required Integer. The object's new position.

Remarks

Constants representing possible Position property values are listed below. They are also declared by the Visio type library in VisUIBarPosition.

Constant

Value

visBarLeft

0

visBarTop

1

visBarRight

2

visBarBottom

3

visBarFloating

4

visBarPopup

5

visBarMenu

6