Page 1 of 1

Hook Request

Posted: Tue Oct 27, 2020 8:48 am
by dcrider
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);

Re: Hook Request

Posted: Wed Oct 28, 2020 4:13 pm
by joes
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);