State property
Determines a button's state—pressed or not pressed.
Version added
2000
Syntax
| |
| |
intRet |
Integer. The state of the button. |
object |
Required. An expression that returns a Menu, MenuItem, or ToolbarItem object. |
intExpression |
Required Integer. The new state of the button. |
Remarks
The State property can be one of the following constants declared by the Visio type library in VisUIButtonState.
Constant |
Value |
Description |
visButtonUp |
0 |
Button is not pressed |
visButtonDown |
-1 |
Button is pressed |