Plugin: Want to add MenuItem to FormOpenDental

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Plugin: Want to add MenuItem to FormOpenDental

Post 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,
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
User avatar
jordansparks
Site Admin
Posts: 5776
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Plugin: Want to add MenuItem to FormOpenDental

Post 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.
Jordan Sparks, DMD
http://www.opendental.com
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Plugin: Want to add MenuItem to FormOpenDental

Post by wjstarck »

Great.

Thank you very much.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Post Reply