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

Finding the OutPut Device

edited September 2003 in General
Nard:

Comments

  • edited September 2003

    When I try a simple test here it works properly.

    In the Report.BeforePrint event try this:

    if (myReport.PrinterDevice <> nil) then
    myShape.Visible := False
    else
    myShape.Visible := True;


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

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