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

Changes Made in Designer

edited August 2002 in General
I want to add my own save logic. To do this, I need to know if any changes
were made while the designer was opened. I thought the two events
ppDesignerCreateComponent and ppDesignerSelectionChanged were the two but
ppDesignerSelectionChanged is fired everytime the designer is displayed.

Any ideas?

Thanks.

Steve

Comments

  • edited August 2002
    I tried ppReport.Modifed but again, everytime the designer is displayed, it
    says it has been modified. What is modifying the report. Right before the
    ShowModal, ppReport.Modified is false. I do a ShowModal and immediately
    close and ppReport.Modified is True.


  • edited August 2002
    There is a patch for this. When the template is loaded, modified was
    getting set to true. Email support@digital-metaphors.com and we'll send you
    the patch unit which you can use to recompile your project and fix the
    problem at runtime.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited August 2002
    Jim,

    I installed the patch but it does not work. When I enter the report
    designer, the FCurrentReport.Modified property is False. When I click the X
    in the top right hand corner, however, PMComponentChange gets fired which
    calls ComponentModified. The only thing I did was open the designer and
    click the X button - nothing else.

    Any ideas?


  • edited August 2002
    Ok, the patch I sent you has a bug. You should get a compile error on
    'Toolba' where an 'r' was deleted accidentally. If you don't receive this
    error then you are not building using the patch unit. Check your library
    path and be sure that it only points to the RBuilder\Source directory and
    not the RBuilder\Lib directory. Leave the missing r out. When you get he
    compile error, you'll know that you have the correct patch being applied.
    Add the r to the Toolba error and it will work. I just ran the patch and it
    works fine here. Sorry about the missing r, but it looks like it is one way
    to find out which library you are using:) Let me know if it doesn't work. I
    ran the standard Report Explorer End User demo to test this.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.