From 11bda89833816e4e9eba1a64491a0f16fd553be7 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 27 Feb 2018 14:57:21 +0000 Subject: [PATCH] * Make Page and Band available in element git-svn-id: trunk@38360 - --- packages/fcl-report/src/fpreport.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fcl-report/src/fpreport.pp b/packages/fcl-report/src/fpreport.pp index 8820a196a1..f9c9f2b9be 100644 --- a/packages/fcl-report/src/fpreport.pp +++ b/packages/fcl-report/src/fpreport.pp @@ -673,8 +673,6 @@ type procedure RecalcLayout; virtual; abstract; property StretchMode: TFPReportStretchMode read FStretchMode write FStretchMode default smDontStretch; property OnBeforePrint: TFPReportBeforePrintEvent read FOnBeforePrint write FOnBeforePrint; - property Page: TFPReportCustomPage read GetReportPage; - property Band: TFPReportCustomBand read GetReportBand; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; @@ -688,6 +686,8 @@ type function EvaluateVisibility : boolean; virtual; property Parent: TFPReportElement read FParent write SetParent; Property Report : TFPCustomReport read GetReport; + property Page: TFPReportCustomPage read GetReportPage; + property Band: TFPReportCustomBand read GetReportBand; { Runtime Layout - populated when layouting of report is calculated. } property RTLayout: TFPReportLayout read FRTLayout write FRTLayout; // TOOD: Maybe we should rename this to PrintLayout? published