In the designer, bands are shoved off the bottom
I should note that I am new to FastReport and am evaluating 4.7.170.
I am creating a report that has a PageHeader, a PageFooter, and a MasterData band. I want the MasterData band to occupy the remaining page height. This band will be repeated once per page.
Once I add all three bands to the report, I set the height of the page header and footer to .25 inches. Let's say that my available report page height (after margins) is 10.5 inches. I figure that my master band can be 10 inches tall (10.5 - (2 * 0.25)).
If I set the MasterData band height to 10 inches, it expands as expected. However, the bottom of the band is off the bottom of the report (not visible) and the entire PageFooter isn't visible either. The report prints and previews just fine.
Is there any way to design a report like this? I realize that I could, temporarily, shrink the MasterBand so I can work with the PageFooter. However, there's no way to design near the bottom of the MasterBand. My first instinct was to search for some way to hide the band titles (which are only there in design time) and to collapse the bands together. No luck. Any suggestions?
I am creating a report that has a PageHeader, a PageFooter, and a MasterData band. I want the MasterData band to occupy the remaining page height. This band will be repeated once per page.
Once I add all three bands to the report, I set the height of the page header and footer to .25 inches. Let's say that my available report page height (after margins) is 10.5 inches. I figure that my master band can be 10 inches tall (10.5 - (2 * 0.25)).
If I set the MasterData band height to 10 inches, it expands as expected. However, the bottom of the band is off the bottom of the report (not visible) and the entire PageFooter isn't visible either. The report prints and previews just fine.
Is there any way to design a report like this? I realize that I could, temporarily, shrink the MasterBand so I can work with the PageFooter. However, there's no way to design near the bottom of the MasterBand. My first instinct was to search for some way to hide the band titles (which are only there in design time) and to collapse the bands together. No luck. Any suggestions?
Comments
Regardless of that, you can design the masterdata band in a way it's NOT ocuppying all the required space in the designer, but just a portion of it (let's say, the top half), and set the property Stretch to True, so at runtime it will ocuppy all available space in the page.
Then make sure all your visible objects in the band have StretchMode := smActualHeight.
Cheers