Hook request in Class FormEmailMessageEdit

This forum is for programmers who have questions about the source code.

Hook request in Class FormEmailMessageEdit

Postby 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
gitter
 
Posts: 4
Joined: Sun Aug 09, 2015 10:31 am

Re: Hook request in Class FormEmailMessageEdit

Postby 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
PatrickC
 
Posts: 21
Joined: Thu Jun 06, 2019 11:37 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests