Page 1 of 1

Plugin: Want to add MenuItem to FormOpenDental

Posted: Fri Apr 30, 2010 6:18 pm
by wjstarck
I want to add some custom menu items to the Setup menu items at the top of FormOpenDental.

Is this possible using the Plugin Framework?

Thanks,

Re: Plugin: Want to add MenuItem to FormOpenDental

Posted: Sat May 01, 2010 8:07 am
by jordansparks
I just added
Plugins.HookAddCode(this,"FormOpenDental.Load_end");
The "this" gives you a reference to the main FormOpenDental. And, as in the example, you can loop through the public Controls object to get access to the parent menu that you need. You can add click events, etc.

Re: Plugin: Want to add MenuItem to FormOpenDental

Posted: Sat May 01, 2010 8:25 am
by wjstarck
Great.

Thank you very much.