Hook request
Posted: Tue Apr 21, 2020 5:11 am
Hi OpenDental,
Could you add the following hook to FormOpenDental.cs near the end of procedure SetSmsNotificationText (line 4505)
Thanks,
M
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.
}
M