A Boolean value. Gets or sets the state of a menu item.
Applies to objects: Action
[Let] RetVal = object.Disabled [Let] object.Disabled = SetVal |
The Disabled property syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
RetVal | A Boolean type variable. |
SetVal | A Boolean value. |
If TRUE, the menu item is disabled, otherwise enabled.
This example demonstrates using the Disabled property.
Dim s as Shape, MyAction as Action ' Assume shape with ID 1 exists on the active page. ' Assume the shape contains at least one Action. s = thisDoc.ActivePage.ShapeByID(1) |
See Also |
Action Object, Shape Object, SetPropertyFormula Method, ActionsNum Method, AddAction Method, Action Method, RemoveAction Method |