Page 1 of 1
Hook request
Posted: Sun Jun 26, 2016 11:43 pm
by mopensoft
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
Re: Hook request
Posted: Mon Jun 27, 2016 10:34 am
by jsalmon
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:
Code: Select all
Plugins.HookAddCode(this,"FormRpBirthday.Load_end");
Re: Hook request
Posted: Mon Jun 27, 2016 5:38 pm
by mopensoft
OK, if that's the preferred way. Thanks. M
Re: Hook request
Posted: Mon Jun 27, 2016 5:38 pm
by mopensoft
Can you also add the following hook in ContrAppt.cs:
if (Plugins.HookMethod(this, "ContrApptSheet2_DoubleClick_start", ContrApptSingle.ClickedAptNum, e))
return;
Thanks
M
Re: Hook request
Posted: Tue Jun 28, 2016 3:04 pm
by allends
Both of these hooks have been added and released in 16.2.25.
Re: Hook request
Posted: Mon Jul 11, 2016 12:38 am
by mopensoft
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
Re: Hook request
Posted: Tue Jul 12, 2016 2:46 pm
by allends
The remaining hooks have been added to 16.2.30.