mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 09:18:14 +02:00
* Fix double DesignReport call (bug ID #33324)
git-svn-id: trunk@57451 -
This commit is contained in:
parent
b6fbc78556
commit
1f3b852e69
@ -325,8 +325,6 @@ object FPReportDesignerForm: TFPReportDesignerForm
|
||||
inherited PCData: TPageControl
|
||||
Height = 655
|
||||
Width = 261
|
||||
ActivePage = FReportData.TSData
|
||||
TabIndex = 0
|
||||
inherited TSData: TTabSheet
|
||||
ClientHeight = 620
|
||||
ClientWidth = 255
|
||||
|
@ -481,13 +481,7 @@ end;
|
||||
|
||||
procedure TFPReportDesignerForm.FormShow(Sender: TObject);
|
||||
begin
|
||||
if Assigned(Report) then
|
||||
begin
|
||||
MaybeAddFirstPage;
|
||||
DesignReport;
|
||||
end;
|
||||
SBReport.Visible:=False;
|
||||
SBReport.Visible:=True;
|
||||
SBReport.Refresh;
|
||||
end;
|
||||
|
||||
procedure TFPReportDesignerForm.DesignReport;
|
||||
@ -496,6 +490,7 @@ Var
|
||||
I : Integer;
|
||||
|
||||
begin
|
||||
MaybeAddFirstPage;
|
||||
Report.StartDesigning;
|
||||
For I:=0 to Report.PageCount-1 do
|
||||
AddPageDesign(I+1,Report.Pages[I]);
|
||||
|
Loading…
Reference in New Issue
Block a user