Default Avatar

Daytona

Daytona

About

Username
Daytona
Joined
Visits
10
Last Active
Roles
Members

Comments

  • Found it... Phew, man: At least for objects of type TfrxLineView changing the Color or Fill->ForeColor has no effect if done programatically. But there is yet another Color attribute for those objects, hidden inside the Frame attribte. And this a…
  • Note, changing the attributes of "Fill" doesn't work neither: auto f=dynamic_cast<TfrxBrushFill>(view->Fill); if(f) {    f->ForeColor=new_color;    f->BackColor=new_color; } The code is being execute (so Fill is set and is…
  • On which page would I do that? But anyway, even if that worked that would essentially just replace one workaround by the other. The point is that the blog example works differently / doesn't work depending on the report->Preview attribute. IMHO…
    in Clone page Comment by Daytona October 1
  • Okay, I managed to get it working. First of all, I was conceptually wrong. What I wanted was appending my single-page report to another destination-report. I found https://www.fast-report.com/en/blog/353/show/ but unfortunately it didn't work for …
  • This is what I'd expect to work, but it doesn't: TfrxReport *R1; // the pre-designed source report, contains 1 content page ... auto R2=std::make_unique<TfrxReport>(nullptr); R2->AssignAll(R1); // now R2 is a clone of R1, with 1 content pa…