UIObject.MenuAnimationStyle property (Visio)
Gets or sets the way in which a menu is displayed. Read/write.
Syntax
expression. MenuAnimationStyle
expression A variable that represents a UIObject object.
Return value
Integer
Remarks
Note
Starting with Visio 2010, the Microsoft Office Fluent user interface (UI) replaced the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio, but they function differently.
Use any UIObject object to get or set this property. The property affects the entire application and affects the appearance of buttons in the currently visible set of toolbars.
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 |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.