This forum is for programmers who have questions about the source code.
-
mopensoft
- Posts: 146
- Joined: Tue Dec 04, 2012 3:33 pm
- Location: Melbourne, Australia
-
Contact:
Post
by mopensoft » 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)
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
-
cmcgehee
- Posts: 711
- Joined: Tue Aug 25, 2015 5:06 pm
- Location: Salem, Oregon
Post
by cmcgehee » Tue Apr 21, 2020 7:31 am
We will get that added.
-
joes
- Posts: 239
- Joined: Tue Aug 13, 2019 12:41 pm
Post
by joes » Tue Apr 21, 2020 10:44 am
The hook will be available in version 20.1.14 upon its release.
-
mopensoft
- Posts: 146
- Joined: Tue Dec 04, 2012 3:33 pm
- Location: Melbourne, Australia
-
Contact:
Post
by mopensoft » Wed Apr 22, 2020 7:56 pm
Thanks guys