Version

MoveToolToMenu Method (ToolbarManagerReplayServer)

Move a tool
Syntax
'Declaration
 
Public Sub MoveToolToMenu( _
   ByVal sourceToolbar As System.Object, _
   ByVal tool As System.Object, _
   ByVal menuPath As System.String, _
   ByVal position As System.Integer _
) 
public void MoveToolToMenu( 
   System.object sourceToolbar,
   System.object tool,
   System.string menuPath,
   System.int position
)

Parameters

sourceToolbar
The key or index of the toolbar that contains the tool to be moved
tool
The key or index of the tool to be moved
menuPath
Menu path is string containing path to specific menu that the tool will be moved to
position
The index of the tool on the destination Menu
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