Dim oMyMenuBarDim oNewButtonCall BarManager.Reset 'Resets all BarManager changes'Adds new Menu Bar to the Script GroupSet oMyMenuBar = BarManager.AddMenuBar("SCRMenuMain", "My Bar", 0)'Inserts new Item which opens a massage boxSet oNewButton = BarManager.AddMenuItem(oMyMenuBar, "Show Message Box", "MsgBox(""Hello World"")", 0)'adds an icon to the menu item. Icon must be placed in the ResourcePath of DIAdem. This path can be found calling BarManager.ResourcePathoNewButton.Picture = "favicon.ico"
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.