You cannot insert a menu item that is always visible by using Visual Studio Tools for Microsoft Dynamics GP

INTRODUCTION

This article discusses that you cannot insert a menu item that is always visible by using Visual Studio Tools for Microsoft Dynamics GP.

More Information

You can use the AddMenuHandler method on a specific Microsoft Dynamics GP form to add to the menu structure in Microsoft Dynamics GP. This menu item is only visible when the selected Microsoft Dynamics GP form is open. However, you cannot insert a menu item that is always visible in Microsoft Dynamics GP.

For example, the following line of C# code adds a new item to the Extras menu that is visible when the Sales Transaction window is open.

            
Dynamics.Forms.SopEntry.AddMenuHandler(new EventHandler(SOPEntryFormHandler), "SOP Menu Item");


For version 10.00 of Microsoft Dynamics GP, there is a utility which can be used to add your own entries into the navigation menus of the application.


Download this from Menus for Visual Studio Tools for Microsoft Dynamics GP 10.0:

CustomerSource

https://mbs.microsoft.com/customersource/support/downloads/servicepacks/menusforvisualstudiotools.htm?printpage=false

PartnerSource

https://mbs.microsoft.com/partnersource/downloads/releases/menusforvisualstudiotools.htm?printpage=false

References

For more information, read the Visual Studio Tools for Microsoft Dynamics GP Programmer’s Guide. To download the Visual Studio Tools for Microsoft Dynamics GP Programmer’s Guide, visit the following Microsoft Web site:

https://mbs.microsoft.com/downloads/customer/VSTDGPProgrammersGuide_90.pdf

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×