I have a report in which a multi-column subreport is placed on my TfrxMasterData
band. At design time, the report looks like this:
And the subreport looks like this:
I want to draw a frame around my data band, so I placed a TfrxShapeView
on MasterData1
with Align = baClient
and Shape = skRectangle
. As long as the subreport does not exceed the design-time height of MasterData1
, everything looks fine. But when there is more than four lines of data, my shape does not extend and the result looks like this:
Notice the gap between data bands? It seems that while my subreport correctly stretches to display additional lines, the shape on my master data band is not notified of this despite being aligned to baClient
. Any thoughts?
I'm using FastReport 4.13.
According to FastReport manual, you have to set
SubReport.PrintOnParent
andMasterData.Stretched
toTrue
in order for the parent band to be stretched to match subreport's height.