Help - Search - Members - Calendar
Full Version: change size of Masterdata dynamically
Fast Reports forum > Fast Reports Products > FastReport 4.0
Steerpike
Hi,

I have a problem I hope someone can help me solve. In my report I have a Masterdata where I have put some memos. The masterdata is two lines high. I have some memos on the first line and then one on the second line. This last memo can contain a lot of text and therefore needs a whole line alone. But sometimes this memo is empty.

My problem:
I want the Masterdata to "shrink" when this memo does not contain any data to avoid empty lines in my report. I have tried several things so far without suceeding including making triggers that change the size of Masterdata and makes the memo not visible.

I am running Fast Report 4.8.32

gordk
first realize bands don't shrink, they strech(grow) vertically.
try this set the bands stretch property, set the memoviews stretchmode property
and set the memoviews height to 0
Btw current is 4.9.21
Steerpike
thank you very much for your quick reply. It worked just the way as you said it would smile.gif !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.