Sets the menu item string for a script item.
Visual Basic |
---|
Public Sub SetScriptItem( _ ByVal scriptIndex As Long, _ ByVal menuItemName As String _ ) |
- scriptIndex
A long value which represents the index value for the script item.
The value range is 1 to 9.
- menuItemName
- A string value which represents the text that is displayed in the menu and toolbar tip.
Note: To set the icon used in the toolbar and menu, configure the item using a list file instead of this method. If you use this method, you are not able to set an icon.