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

ExtraDevices - Find producer

edited May 2004 in Devices
Hi,
Is it possible to find the produce component of an ExtraDev Device?

I've added an MAPI E-Mail Device to send the PDF report as an
attachment. If the Report is sent directly to print
ShowPrintDialog := false
I don't want the MAPI preview.

Regards
Mario Brazil
Coretime/Raven Computing
Using
Delphi 5 - ReportBuilder 6.03 - ExtraDev 2.67

Comments

  • edited May 2004

    I researched this by examining the source code. Try using
    Device.Publisher.Owner to access a reference to the Producer.

    uses
    ppProd, ppDevice;

    var
    lProducer: TppProducer;

    begin
    lProducer := TppProducer(myDevice.Publisher.Owner);

    end;


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.