Change Size Of Shape

PixelPointerPixelPointer Vaughan, Ontario
edited 11:53PM in FastReport 3.0
I am attempting to wrap my masterdata information in a rectangular shape on a report. I have double pass on, and I am attempting to use the onafterprint of the MasterData band to fire a change shape size event, during the intial pass.
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
      if not engine.finalpass then
       shpDeposits.Height := MasterData1.Height;
end;

Each time I run it, the size does not change. Any ideas?

Comments

  • ShivanShivan Germany
    edited 11:53PM
    Did you try in first pass?

    Did you debug into it to see if the value really not changes?
    Do you have alignment enabled?
  • PixelPointerPixelPointer Vaughan, Ontario
    edited 11:53PM
    No, alignment was not enabled. thanks. Got it working. ;)

Leave a Comment