I am trying to clone one page and then change something on the cloned page.
My goal is almost the same like https://www.fast-report.com/en/blog/show/same-reports-different-headers/ but I need it for Delphi. My progress so far is shown below.
//ClonedPage := TfrxReportPage.Create(Report1);
ClonedPage := TfrxReportPage.Create(nil);
for I := 0 to ClonedPage.AllObjects.Count - 1 do
If the page is created with owner Report1, the value of ClonedPage.AllObjects.Count is zero and the cloned page is blank. When I create it with nil owner, the Count of AllObjects is more than zero, but I cannot find a way to attach the page to the report to see if this method works.