Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

INTRODUCTION

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

↑ Back to the top


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

↑ Back to the top


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:

↑ Back to the top


Keywords: kbnosurvey, kbtshoot, kbmbspartner, kbmbsmigrate, kbexpertiseadvanced, kbentirenet, kbinfo, kb

↑ Back to the top

Article Info
Article ID : 922871
Revision : 1
Created on : 3/13/2017
Published on : 1/5/2015
Exists online : False
Views : 70