Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How can I add a button to another form at runtime with the Toolkit?

Posted on by 20

I'm wanting to add a button to a form from my toolkit code.

I'm able to add a menu item to run code using the AddMenuHandler method.

I'm able to add event to run before and after the form opens.

Can I add a button to the form either on the form or in the menu bar?

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: How can I add a button to another form at runtime with the Toolkit?

    Actually you cannot, the only way to acheive this is by adding the button using Modifier and then use DAG.exe to create a DLL for your forms dictionary.

    I guess it will be easier to use AddMenuHandler.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans