How can I remove the space between the last word and the bottom of band?

Hi all,
Please help me with a solution for this problem.
I use Delphi XE4 and FastReport 4.14.2.

I use only one table (mdb database) but with 4 memo fields.
I put a master data band on report and 7 TfrxMemoView in line on that band.
I set for master data band streched - True, and for each Memo, StrechMode to smMaxHeight and Wordwrap to True.

The problem is that on some rows, where the memo has more than 1 line, I have more empty line spaces between the last word and the bottom of the band.
I use Trim() for each memo field, but nothing good happened.

Please tell me how can I remove the space between the last word and the bottom of band.

Thanks a lot!

Comments

  • edited 4:02PM
    Try setting the memo StretchMode to smActualHeight.
  • edited 4:02PM
    Thank you Jdinning for your answer. I change all TfrxMemoView and vertical TfrxLineView StrechMode property to smActualHeight, but still dont works.
    Please see the capture from attach with smActualHeight settings.

    For me its a strange things, because the FastReport seems to very easy to use, but...

    And another strange things with my FastReport is that the Events tab is inaccessible. Only Property tab is enable.
    I dont understand what happend. [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Please help me with a solution. Thank you very much![/img]
  • edited 4:02PM
    Hi Adrian,

    Could you save your report as a .fr3 file and post it here?
    I am sure the solution is simple but without seeing all the properties it is difficult to figure it out.

    By the way, if you set the vertical lines to smMaxHeight you report will look better even if it still has the blank space.
  • edited 4:02PM
    Hi Jdinning,

    Thank you again for your answer.

    I set the vertical lines to smMaxHeight, but the raport still has the blank space, as you can see in attach. I think that that blank space depend of height of each TfrxMemoView who has more than 1 line text. The raport, from strange reasons, add these heights on bottom of row.

    I also attached to this message and .fr3 file.

    If you see something wrong or if you have a solution for this problem please tell me.

    Thank you so much for your involvement. I really urgently need to make this report and see no solution > .
  • edited 4:02PM
    Hi Adrian,

    The problem seems to be with the line at the bottom of the MasterData band.
    Change the ShiftMode property of the line to smWhenOverlapped

    or alternatively move the line to the top of the MasterData band, above the memo fields.
    I think that should fix it.

    John.
  • edited 4:02PM
    Hi Jdinning,

    You're magic! [img]style_emoticons/<#EMO_DIR#>/wub.gif" style="vertical-align:middle" emoid=":wub:" border="0" alt="wub.gif" /> I just set the line from the bottom to smWhenOverlapped and everything is great. I mean you saved my life. Just one last question that I have not found the answer ... Why can not access my report events tab? In the FastReport Help I have seen many references to events/methods there, but how can I use them if can not access them? Thank you so very much for your help.[/img]
  • edited 4:02PM
    You are welcome.

    Sorry but I don't know where your events tab has gone.
    I suggest you post a new topic about that.

    Cheers,
    John.

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.