Zitat:
Hier der Code an dem ich glaube das das Problem liegt.
Delphi-Quellcode:
with v2 do
begin
Left:= -(report.Pages[1] as TfrxReportPage).LeftMargin * fr01cm;
Top:= -(report.Pages[1] as TfrxReportPage).TopMargin * fr01cm;
Width:= (report.Pages[1] as TfrxReportPage).PaperWidth * fr01cm;
Height:= (report.Pages[1] as TfrxReportPage).PaperHeight * fr01cm;
end;
Left, Top, Width, Height... soll der Compiler die aus v2 oder der Form benutzen?

Das ist genau ein Beispiel warum man
with wegläßt.