Share via


MenuAnimationStyle Property [Visio 2003 SDK Documentation]

Gets or sets the way in which a menu is displayed.

int = object**.MenuAnimationStyle**

object**.MenuAnimationStyle** = int

object     Required. An expression that returns a UIObject object for which you want to set the menu animation style.

int     Required Integer. A constant that represents an animation style.

Version added

2000

Remarks

You can use any UIObject object to get or set this property. The property affects the entire application and affects the appearance of buttons in the current visible set of toolbars.

Beginning with Microsoft Visio 2002, this setting corresponds to the Menu animations box on the Options tab in the Customize dialog box (on the Tools menu, click Customize) and is shared between Visio and all Office 2003 applications.

Constants representing animation styles are prefixed with visMenuAnimation and are declared by the Visio type library in member VisUIMenuAnimation.

Constant Value

visMenuAnimationNone

0

visMenuAnimationRandom

1

visMenuAnimationUnfold

2

visMenuAnimationSlide

3

Applies to | UIObject object