mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 08:29:06 +02:00
* Band factory no longer exists
git-svn-id: trunk@57987 -
This commit is contained in:
parent
362d5edb4f
commit
394f279d8e
@ -1058,7 +1058,7 @@ end;
|
||||
Function TFPReportDesignerForm.CreateNewPage: TFPReportCustomPage;
|
||||
|
||||
begin
|
||||
Result:=gBandFactory.PageClass.Create(FReport);
|
||||
Result:=gElementFactory.PageClass.Create(FReport);
|
||||
Result.PageSize.PaperName := 'A4';
|
||||
{ page margins }
|
||||
Result.Margins.Left := 30;
|
||||
@ -1370,7 +1370,7 @@ begin
|
||||
exit;
|
||||
if (CurrentDesigner=Nil) then
|
||||
Exit;
|
||||
CurrentDesigner.AddBand(gBandFactory.BandClasses[TFPReportBandType(T)]);
|
||||
CurrentDesigner.AddBand(gElementFactory.BandClasses[TFPReportBandType(T)]);
|
||||
end;
|
||||
|
||||
procedure TFPReportDesignerForm.AAddBandUpdate(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user