add or use email button

we have some library code for sending email, I wish to use this code in place of the email button OnClick event that is added to the previewer when email has been enabled that is ppReport1.EmailSettings.Enabled := True;

how can I assign our own event to EmailButton.OnClick

if Assigned(EmailButton) then
EmailButton.OnClick = OurEmailEvent

or how can I add a button to the previewer

Comments

Sign In or Register to comment.