Page 1 of 1

Hook Requests

Posted: Sun Nov 25, 2018 11:04 am
by 321Practice
In OpenDental/Forms/FormConfirmationsSetup.cs

At the end of FormConfirmationSetup_Load like this:

public void FormConfirmationSetup_Load(object sender,System.EventArgs e) {
FillTabManualConfirmation();
Plugins.HookAddCode(this, "FormConfirmationSetup.Load_End");
}

Thanks!
- John

Re: Hook Request: FormConfirmationSetup

Posted: Sun Nov 25, 2018 6:29 pm
by 321Practice
Just realized I used the wrong capitalization. This instead:

Plugins.HookAddCode(this, "FormConfirmationSetup.Load_end");

Thanks!

Re: Hook Request: FormConfirmationSetup

Posted: Mon Nov 26, 2018 7:52 am
by cmcgehee
Sure, I'll work on getting that added.

Re: Hook Request: FormConfirmationSetup

Posted: Sat Dec 08, 2018 8:59 am
by 321Practice
Do you mind adding another? I want to modify the payment amount InputBox before it's displayed.

In ContrAccount.cs around line 3761:

Code: Select all

);
Plugins.HookAddCode(this, "ContrAccount.ToolBarMain_ButtonClick_paymentInputBox", inputBox, PatCur);
if (inputBox.ShowDialog()!=DialogResult.OK) {
    break;
}
Thanks!

Re: Hook Requests

Posted: Sun Dec 09, 2018 5:08 pm
by 321Practice
Also, while we're at it, can you consider making ContrImages.SelectTreeNode() public?

ContrImages.FillDocList() is already public which allows us to refresh the image tree. It would be nice to also select a node and have the doc displayed.

Thank you!
John

Re: Hook Requests

Posted: Mon Dec 10, 2018 8:31 am
by cmcgehee
Yep, I can add those, too.

Re: Hook Requests

Posted: Tue Dec 11, 2018 2:07 pm
by cmcgehee
I have added these two hooks and made SelectTreeNode public. These will be available in version 18.4.3.