OD controls are missing in the toolbox for Plugin develpment

This forum is for programmers who have questions about the source code.
Post Reply
hoavm
Posts: 4
Joined: Mon Jun 23, 2008 5:30 am

OD controls are missing in the toolbox for Plugin develpment

Post by hoavm » Tue Jun 26, 2012 7:22 pm

Hi

I am trying to make a plugin to run in Open Dental. The problem I have is after importing OpenDental and OpenDentBusiness project ins the plugin project, somehow, I can only see UI controls of OpenDentBusiness (e.g. ODGrid) but OpenDental ones which are much nicer than common VS.NET controls.

I am wondering if that how OpenDental set up or I miss something to import the OpenDental project properly.

Thanks
H

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: OD controls are missing in the toolbox for Plugin develp

Post by jordansparks » Wed Jun 27, 2012 8:33 pm

Read your question again. It's malformed. I don't understand.
Jordan Sparks, DMD
http://www.opendental.com

hoavm
Posts: 4
Joined: Mon Jun 23, 2008 5:30 am

Re: OD controls are missing in the toolbox for Plugin develp

Post by hoavm » Mon Jul 02, 2012 7:59 pm

OK, I follow the Plugin example instructions. To be able to run it, I need to add OpenDental and OpenDentBusiness projects into PluginExample solution. It all works well and I can compile and run the plugin. However, there are so many nice user controls created in OpenDental project but I could not see any of them from the designer toolbox when I try to add UI controls in plugin GUI.

For example, I create a new form in plugin project, I can't use OD button, ODGrid or OD textbox, numberbox, etc to make the plugin GUI consistent with the main software. I have to use standard .NET controls. The weird thing is I still can see and use a few UI controls created in OpenDentBusiness project.

I hope it's clearer.

Thanks
H

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: OD controls are missing in the toolbox for Plugin develp

Post by jordansparks » Tue Jul 03, 2012 8:09 pm

You should be able to right click on the toolbox and import more tools. Pick the project/file/types for what you want to import and show. If that doesn't work, I think you can copy and paste controls from existing forms.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
drtech
Posts: 1649
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: OD controls are missing in the toolbox for Plugin develp

Post by drtech » Wed Jul 04, 2012 8:38 pm

i copy and paste controls
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

Post Reply