How to make an overlay band cover the whole page?

Hello all,

I want to place an object (let's say a memo, but might also be a picture) in the center of the page behind all other objects. At the moment I'm using an overlay band and put the memo in it with Align=baCenter, put this doesn't put the memo into the center of the page background as intended. I also tried a lot of other configurations but nothing did the trick.

Can you help me with that issue?

Best regards,
Uli

Comments

  • gpigpi
    edited 5:07PM
    Set TfrxOverlay.Height = Page.Height
  • edited 5:07PM
    gpi wrote: »
    Set TfrxOverlay.Height = Page.Height
    I'm trying
    procedure Page1OnBeforePrint(Sender: TfrxComponent);
    begin
      Overlay1.Height := Page1.Height;
    end;
    
    but get "Undefined identifier 'Height'" for Page1. "Page.Height" doesn't work because "Page" is undefined.
  • gpigpi
    edited 5:07PM
    set height of TfrxOverlay band = height of TfrxReport page without margins (by mouse in the FR Designer)
    If you use code only - look at Object Inspector (PaperHeight property - height of paper in mm, paper's margins in mm too)

Leave a Comment