Table of contents
TOC
Collapse the table of content
Expand the table of content

MenuItem.State Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines a menu item's state, pressed or not pressed. Read/write.

Syntax

expression . State

expression A variable that represents a MenuItem object.

Return Value

Integer

Remarks

Note Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces 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.

The State property can be one of the following constants declared by the Visio type library in VisUIButtonState .

** Constant**** Value**** Description**
visButtonUp0Button is not pressed
visButtonDown-1Button is pressed
© 2018 Microsoft