mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
* Do not open dataset twice. Correct Standard elements registration
git-svn-id: trunk@41567 -
This commit is contained in:
parent
12e98d891a
commit
629f73c918
@ -10668,6 +10668,8 @@ end;
|
|||||||
procedure TFPReportData.Open;
|
procedure TFPReportData.Open;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
if IsOpened then
|
||||||
|
exit;
|
||||||
if Assigned(FOnOpen) then
|
if Assigned(FOnOpen) then
|
||||||
FOnOpen(Self);
|
FOnOpen(Self);
|
||||||
DoOpen;
|
DoOpen;
|
||||||
@ -12456,11 +12458,11 @@ begin
|
|||||||
TFPReportDataFooterBand.RegisterElement;
|
TFPReportDataFooterBand.RegisterElement;
|
||||||
TFPReportColumnHeaderBand.RegisterElement;
|
TFPReportColumnHeaderBand.RegisterElement;
|
||||||
TFPReportColumnFooterBand.RegisterElement;
|
TFPReportColumnFooterBand.RegisterElement;
|
||||||
TFPReportMemo.RegisterElement;
|
TFPReportMemo.RegisterElement.Standard:=True;
|
||||||
TFPReportImage.RegisterElement;
|
TFPReportImage.RegisterElement.Standard:=True;
|
||||||
TFPReportCheckbox.RegisterElement;
|
TFPReportCheckbox.RegisterElement.Standard:=True;
|
||||||
TFPReportShape.RegisterElement;
|
TFPReportShape.RegisterElement.Standard:=True;
|
||||||
TFPReportPage.RegisterElement;
|
TFPReportPage.RegisterElement.Standard:=True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user