Cannot set Page Orientation at runtime
Can't compile the codes :
procedure TForm1.Report1PrintPage(Page: TfrxReportPage; CopyNo: Integer);
begin
Page.Orientation := poLandscape; // Undecalred identifier :'poLandScape'
Page.Orientation := poPortrait; // Undecalred identifier :'poPortrait'
end;
It need include some extra unit ?
FR VCL 5.6.1 + DELPHI XE2
Thanks.
procedure TForm1.Report1PrintPage(Page: TfrxReportPage; CopyNo: Integer);
begin
Page.Orientation := poLandscape; // Undecalred identifier :'poLandScape'
Page.Orientation := poPortrait; // Undecalred identifier :'poPortrait'
end;
It need include some extra unit ?
FR VCL 5.6.1 + DELPHI XE2
Thanks.
Comments
Thanks.