Version

ClickApplicationMenuTool Method (ToolbarManagerReplayServer)

This action gets recorded when the user clicks a tool placed on the ribbon File Menu.
Syntax
'Declaration
 
Public Sub ClickApplicationMenuTool( _
   ByVal location As System.String, _
   ByVal tool As System.Object _
) 
public void ClickApplicationMenuTool( 
   System.string location,
   System.object tool
)

Parameters

location
specify the area where the tool is placed. it can be one of the following options:

- "Left": The tool is placed on ApplicationMenuLeftArea

- "Right": The tool is placed on ApplicationMenuRightArea.

- "Footer": The tool is placed on ApplicationMenuFooterArea.

tool
an object that represent the tool key/Index/ or path. When the tool is placed directly on the ApplicationMenu area (Left, right, or footer) this parameter could be the key (as string) or the index (as integer) for this tool. in the case that the tool is placed inside a popuptool , the parameter will be formatted as a menu path that include a chain of tool's key separated by comas ","
Example
The following statment clickes the "View" Tool inside "Tools" popup menu that is placed on the LeftArea or of the File Menu.

SwfToolbar("_Form1_Toolbars_Dock_Area_Top").ClickApplicationMenuTool "Left","Tools,View"

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also