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

Clearing image before Saving Report

edited September 2004 in General
I use TppImage in my reports,
with RAP i load in these images pictures from file - this works fine.
But at designtime it would be nice that i can clear the image so that the
report doesnt save the image (for a smaller report)
But i didn't get it work.

I just tried to add a menuitem in the ppCtrls, at the right position but i
can't compile it (get exception that some units are compiled with different
version of unit ppCtrls)

thanxs for all help
andi

Comments

  • edited September 2004
    Hi Andi,

    By "designtime" do you mean Delphi design time or while you are designing a
    report in an end user solution at run time? If you mean while designing a
    report at run time, you could possibly clear out all the images on your
    report using the Designer.Notbook property which is a TPageControl. Perhaps
    the OnChange event would work.

    The reason you are receiving these errors is that either you have changed
    some of the ReportBuilder source inside the Interface section of a RB class,
    or you do not have your library path pointing toward the \RBuilder\Source\
    directory. If you are only changing the Implementation section of a RB
    class, then pointing to the source directory should solve the problem.
    Since you are using RAP and we do not supply the source to RAP, if you
    change the Interface section of any RB classes, RAP will no longer compile.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.