Hook Request

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
dcrider
Posts: 67
Joined: Sun Sep 29, 2019 11:03 am
Contact:

Hook Request

Post by dcrider » Tue Oct 27, 2020 8:48 am

I would like the following hook added please. This hook needs to be after the if(inputBox.ShowDIalog()!=DialogResult.OK) check. There is currently one right before that call, but I also need one after to verify the value entered in some very specific use-cases.

Code: Select all

Plugins.HookAddCode(this,"ContrAccount.ToolBarMain_ButtonClick_paymentInputBox_end",inpuxBox, PatCur);

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: Hook Request

Post by joes » Wed Oct 28, 2020 4:13 pm

This plugin will be available in version 20.4.15.

Code: Select all

Plugins.HookAddCode(this,"ContrAccount.ToolBarMain_ButtonClick_paymentInputBox",inputBox,_patCur);
if(inputBox.ShowDialog()!=DialogResult.OK) {
    break;
}
Plugins.HookAddCode(this,"ControlAccount.ToolBarMain_ButtonClick_afterPaymentInputBox",inputBox,_patCur);
Joe Sullivan
Open Dental Software
http://www.opendental.com

Post Reply