web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Backspace in modal visual studio launched GP Lookup window causes dodgy (invalid) characters

(0) ShareShare
ReportReport
Posted on by 5,711

Using the following code to launch the Vendor Lookup Window via Visual Studio Addin causes a problem with the launched window, but only if launched from a form that itself is in a modal dialog mode.


Microsoft.Dexterity.Applications.SmartListDictionary.VendorLookupForm window = Microsoft.Dexterity.Applications.SmartList.Forms.VendorLookup;

window.Open();
window.Procedures.CheckAdditionalSortCommands.Invoke(0);
window.Commands.AllVendors.Run();

 

Pressing the back-space key in the "Find by" text box causes odd characters to be inserted, rather than the expected behaviour of deleting the text. However if the same code is executed form a non-modal dialog windows form, the behaviour is as expected, the characters to the left of the caret are deleted. 

Anyone have any ways around this, it would be difficult for me to not use modal dialogs in my scenario

Screen shot showing the characters in the text box, rest of info on screen pixelated for privacy. 



Looks the same as this issue: "Invalid characters when when opening a dex form via a modal .net form" http://dyndeveloper.com/thread.aspx?Threadid=1656

*This post is locked for comments

I have the same question (0)
  • Kirk Alexander Profile Picture
    420 on at

    Anybody have a solution for this?  We've just learned one of our clients is having this problem.  Has been occurring for more than one user on more than one computer, over at least two releases of GP.  They do not have any custom forms, so we can easily create a new forms.dic, but that doesn't seem like it would help since it has been happening for so long.  This is the only place we've seen this behavior.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans