Could you please add the hook to Load function of FormRpBirthday as follow:
Plugins.HookAddCode(this, "FormRpBirthday.Load_end", textDateFrom.Text, textDateTo.Text, textPostcardMsg.Text);
Thanks
M
Hook request
Hook request
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook request
You should be able to get access to all controls on the form (or control in some hooks) because HookAddCode has sent you the "sender" (this) which you can loop through all controls owned by sender looking for those particular text boxes and grab the text from them yourself within the plugin class.
So the hook should end up looking like this:
So the hook should end up looking like this:
Code: Select all
Plugins.HookAddCode(this,"FormRpBirthday.Load_end");
The best thing about a boolean is even if you are wrong, you are only off by a bit.
Jason Salmon
Open Dental Software
http://www.opendental.com
Jason Salmon
Open Dental Software
http://www.opendental.com
Re: Hook request
Can you also add the following hook in ContrAppt.cs:
if (Plugins.HookMethod(this, "ContrApptSheet2_DoubleClick_start", ContrApptSingle.ClickedAptNum, e))
return;
Thanks
M
if (Plugins.HookMethod(this, "ContrApptSheet2_DoubleClick_start", ContrApptSingle.ClickedAptNum, e))
return;
Thanks
M
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook request
Both of these hooks have been added and released in 16.2.25.
Re: Hook request
Hi Allen,
Can you also add 4 hooks below:
if (Plugins.HookMethod(this, "ContrApptSheet2_MouseDown_start", ContrApptSingle.ClickedAptNum, e))
{
return;
}
and
Plugins.HookAddCode(this, "FormOpenDental_KeyDown_end", e);
and
Plugins.HookAddCode(this, "FormProduction_Load_end");
and
Plugins.HookAddCode(this, "FormPaymentSheet_Load_end");
Thanks
M
Can you also add 4 hooks below:
if (Plugins.HookMethod(this, "ContrApptSheet2_MouseDown_start", ContrApptSingle.ClickedAptNum, e))
{
return;
}
and
Plugins.HookAddCode(this, "FormOpenDental_KeyDown_end", e);
and
Plugins.HookAddCode(this, "FormProduction_Load_end");
and
Plugins.HookAddCode(this, "FormPaymentSheet_Load_end");
Thanks
M
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook request
The remaining hooks have been added to 16.2.30.