Hook request

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
tim
Posts: 24
Joined: Wed Mar 08, 2017 5:11 am

Hook request

Post by tim » Wed Mar 08, 2017 5:23 am

Hi,

Could you please add a HookMethod to FormOpenDental.menuItemLaboratories_Click (after the security check).

Thanks.

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Hook request

Post by cmcgehee » Wed Mar 08, 2017 8:02 am

We sure can, Tim. Is this how you want the hook written? If you need any extra parameters, we can pass them in.

Code: Select all

if(Plugins.HookMethod(this,"FormOpenDental.menuItemLaboratories_Click")) {
	return;
}
Chris McGehee
Open Dental Software
http://www.opendental.com

User avatar
tim
Posts: 24
Joined: Wed Mar 08, 2017 5:11 am

Re: Hook request

Post by tim » Wed Mar 08, 2017 8:13 am

That's it for the moment, Chris, thanks.

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Hook request

Post by cmcgehee » Wed Mar 08, 2017 12:06 pm

This hook has been added to the head version and back ported to 16.4.25. Enjoy developing your plugin!
Chris McGehee
Open Dental Software
http://www.opendental.com

Post Reply