Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

EmailSettings RB 10.05

edited March 2007 in General
The email button is always active in the Preview form even though
EmailSettings.Enabled is set to False - or am I missing something?

Ken

Comments

  • edited March 2007
    Hi Ken,

    In my quick testing the EmailSettings.Enabled property does toggle the
    visibility of the email button in the preview. This is controled in the
    TppPreview.BeforePreview routine about half way down...

    FEmailButton.Visible := FReport.EmailSettings.Enabled;

    If you are overriding this routine in your custom preview, you will need to
    add this line. Also note that if you are loading templates, this property
    will either need to be saved down with the templates or assigned after they
    are loaded.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2007
    Nico,

    I must be getting old. I was indeed enabling the email button in a plugin
    that I had completely forgotten about.

    Ken

This discussion has been closed.