Change Size Of Shape

PixelPointerPixelPointer Vaughan, Ontario
edited 1:20PM 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 1:20PM
    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 1:20PM
    No, alignment was not enabled. thanks. Got it working. ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.