Changes the text title of the specified menu item.
'Declaration
Public Function ChangeItem( _
ByVal As Tool, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As String _
) As Boolean
'Usage
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim menuText As String
Dim value As Boolean
value = instance.ChangeItem(tool, topMenuId, subMenuId, menuText)
public bool ChangeItem(
Tool ,
int ,
int ,
string
)
public: bool ChangeItem(
Tool ,
int ,
int ,
string*
)
public:
bool ChangeItem(
Tool ,
int ,
int ,
String^
)
Parameters
- tool
- A Tool enumeration value which represents the tool that the menu item is associated to.
- topMenuId
- An integer value which represents the top-level menu in which the menu item resides.
- subMenuId
- An integer value which represents the sub-level menu in which the menu item resides.
- menuText
- A string value which represents the text to change the menu item to.
Return Value
A boolean value which is true if the menu item text was changed. Otherwise, false is returned.