* Setting group header sets data in group footer

git-svn-id: trunk@38605 -
This commit is contained in:
michael 2018-03-23 08:07:41 +00:00
parent bbb728cc20
commit 03b2584dc1

View File

@ -8934,16 +8934,17 @@ begin
if FGroupHeader = AValue then
Exit;
if Assigned(FGroupHeader) then
begin
begin
FGroupHeader.FGroupFooter := nil;
FGroupHeader.RemoveFreeNotification(Self);
end;
end;
FGroupHeader := AValue;
if Assigned(FGroupHeader) then
begin
begin
FGroupHeader.FGroupFooter := Self;
FGroupHeader.FreeNotification(Self);
end;
Data:=FGroupHeader.Data;
end;
end;
procedure TFPReportCustomGroupFooterBand.FixupReference(PN, PV: String; C: TFPReportElement);