ActionText property

Microsoft Visio Developer Reference

ActionText property

       

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.