Top property

Microsoft Visio Developer Reference

Top property

       

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 Menu or Toolbar object and the top of the screen.

Version added

2000

Syntax

intRet = object.Top
object.Top = intExpression

intRet

Integer. The distance in pixels.

object

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

intExpression

Required Integer. The new distance in pixels.