MenuAnimationStyle property

Microsoft Visio Developer Reference

MenuAnimationStyle property

See also   Example   

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

Version added

2000

Syntax

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.

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 2002 and all Microsoft Office XP 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