Browse Source

* Make Page and Band available in element

git-svn-id: trunk@38360 -
michael 7 years ago
parent
commit
11bda89833
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-report/src/fpreport.pp

+ 2 - 2
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