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!
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
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]
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.
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
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.
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]
Sorry but I don't know where your events tab has gone.
I suggest you post a new topic about that.
Cheers,
John.