Recent

Author Topic: Lazreport print groupfooter at the end of the page  (Read 1551 times)

Nicola Gorlandi

  • Jr. Member
  • **
  • Posts: 80
Lazreport print groupfooter at the end of the page
« on: May 25, 2016, 07:02:30 am »
In order to print a band in a specific position and not always after tne previuos band e.g. the groupfooter at the end of the page, I tried a lot of ways without success, at the end I add this code

Code: Pascal  [Select]
  1.     property k6parent:TfrPage read parent;

in the   TfrBand = class(TfrObject)  public session an the in the ReportBeginBand(Band: TfrBand);  of my application I added

Code: Pascal  [Select]
  1.   if (Band.Typ = btGroupFooter) and (mainform as TMainForm).oFrame.Crpe1.FinalPass then
  2.   begin
  3.      band.k6parent.CurY:=<desidered posiztion>;
  4.   end;  

Would it be this such solution applied in the lazreport sourcecode ?
Many thanks