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

RB 14 Bug - Project -> Preview : Report Corrupt

edited August 2012 in General

This is is a very old bug.

My report change all color if rbLabel..rbShape... in preview / Print.

In end user report if i change page any time from Project to Preview ,

my original source IS CHANGED !!! i must lost the last modified and

reload report -.-



i have already comunicate at RB Assistance

Answert : Fixed. Up in the next build ( was RB 12 )

Comments

  • edited August 2012
    This is not a known issue. Perhaps you can provide exact steps to reproduce
    the issue or create a simple example that we can build and run here. Please
    send to support@ in zip format.

    If you are using the Calc workspace to implement run-time Pascal (RAP)
    event-handlers, then RB should internally save/restore the report layout to
    an internal memory stream when activating/deactivating the report designer
    Preview page. (See TppDesignPreviewManager.SaveReportToStream in
    ppDesignPreview.pas).

    Here is a simple test I tried here in which I did not encounter any issues.

    1. New report, add a Shape, set to the Shape.Brush.Color to clGreen.

    2. Access the Calc workspace, implement the Shape.OnPrint event

    Shape1.Brush.Color := clRed;

    3. Preview the report, a red shape is rendered.

    4. Select the Design page, a green shape appears on the layout.



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

    Best regards,

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