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?

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited August 2009
    I think you can set the page dimensions manually, in the page properties, so it grows to whatever you want.
    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
  • So... temporarily make the page taller and work on the bands. That works for me. Thanks.
  • gordkgordk St.Catherines On. Canada.
    edited 4:28AM
    in designer go to mnu>file>pagesettings otheroptions tab and set use large height in design mode option.

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.