ActionText property

ActionText property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets or sets the action text for a menu, menu item, or toolbar item.

Version added

4.0

Syntax

        
          object.ActionText = actionStr
      
        
          actionStr = object.ActionText
      

object

Required. An expression that returns a Menu, MenuItem, or ToolbarItem object that owns the action text.

actionStr

Required String. A string that describes the action.

Remarks

Action text is a string that describes the action on the Undo, Redo, and Repeat menu items on the Edit menu.

If the ActionText property is empty and the object's CmdNum property is set to one of the Visio built-in command IDs, the item uses the default action text from the built-in Visio user interface.