Hook request in Class FormEmailMessageEdit

This forum is for programmers who have questions about the source code.
Post Reply
gitter
Posts: 4
Joined: Sun Aug 09, 2015 10:31 am

Hook request in Class FormEmailMessageEdit

Post by gitter » Fri Aug 30, 2019 12:43 pm

Hello,

could you please add a hook (addCode) in FormEmailMessageEdit to the most oldest possible release.

Should be at the end of this method:

Code: Select all

 private void FormEmailMessageEdit_Load(object sender, System.EventArgs e) {  
code should be added after:

Code: Select all

Cursor=Cursors.Default;
on line: 605
new hook:

Code: Select all

Plugins.HookAddCode(this, "FromEmailMessageEdit_Load_end", _emailMessage, emailPreview);
Thank you

PatrickC
Posts: 40
Joined: Thu Jun 06, 2019 11:37 am

Re: Hook request in Class FormEmailMessageEdit

Post by PatrickC » Tue Sep 03, 2019 10:20 am

Hello,

The hook has been added to beta version 19.2.21.

Code: Select all

	EmailSaveEvent.Fired+=EmailSaveEvent_Fired;
	Cursor=Cursors.Default;
	Plugins.HookAddCode(this,"FormEmailMessageEdit_Load_end",_emailMessage,emailPreview);
}
Patrick Carlson
Open Dental Software
http://www.opendental.com

Post Reply