Hook Change

This forum is for programmers who have questions about the source code.
Post Reply
321Practice
Posts: 7
Joined: Sun Nov 25, 2018 10:34 am

Hook Change

Post by 321Practice » Sun Dec 29, 2019 7:54 pm

In ContrApptJ.cs, could you add to the hook, changing

Code: Select all

Plugins.HookAddCode(this,"ContrAppt.MouseDownAppointment_menuApt_right_click",menuApt);
to

Code: Select all

Plugins.HookAddCode(this,"ContrAppt.MouseDownAppointment_menuApt_right_click",menuApt,contrApptPanel.SelectedAptNum);
I used to grab the appt from contrApptPanel.ClickedAptNum. If you know of a way other than changing the hook, let me know.

As always, thanks for the great product!

John

PatrickC
Posts: 56
Joined: Thu Jun 06, 2019 11:37 am

Re: Hook Change

Post by PatrickC » Mon Dec 30, 2019 11:36 am

Hook has been updated as requested. Changes have been pushed to 19.4.6(beta).
Patrick Carlson
Open Dental Software
http://www.opendental.com

Post Reply