Page 1 of 1

Hook request

Posted: Tue Apr 21, 2020 5:11 am
by mopensoft
Hi OpenDental,

Could you add the following hook to FormOpenDental.cs near the end of procedure SetSmsNotificationText (line 4505)

Code: Select all

	if(smsNotificationText!="") 
	{
		menuItemTextMessagesReceived.Text+=" ("+smsNotificationText+")";
	}

	Plugins.HookAddCode(null, "FormOpenDental.SetSmsNotificationText_end", _butText, menuItemTextMessagesReceived, increment);

}
finally { //Always redraw the toolbar item.
	ToolBarMain.Invalidate(_butText.Bounds);//To cause the Text button to redraw.			
}
Thanks,
M

Re: Hook request

Posted: Tue Apr 21, 2020 7:31 am
by cmcgehee
We will get that added.

Re: Hook request

Posted: Tue Apr 21, 2020 10:44 am
by joes
The hook will be available in version 20.1.14 upon its release.

Re: Hook request

Posted: Wed Apr 22, 2020 7:56 pm
by mopensoft
Thanks guys