Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
sendow 11/20/2008 10:46:24 PM

GP AddIn Modal Window

A colleague warned me that using Modal windows for a GP AddIn causes problems.  He mentioned that it messes up the tab order, but when I tried it, the window displays, but some controls (save and cancel buttons, control box) do not respond to mouse events.  I basically have to use the ESC key to close the window.

Has anyone had problems trying to do a Modal .NET window as part of an AddIn?

 If it doesn't work, is there a workaround for avoiding problems if the user goes back to GP and makes changes?

In my case, my .NET window is for the Vendor Maintenance form, and my data on the form is tied to the vendor ID, so I would ideally like to prevent the user from changing the vendor ID on the GP form.  Modal seems like the easiest way, but I suppose I could detect a change in the Vendor ID field value and handle the situation at that point, but that seems like more work.

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables