Controls outside of bands
Hello,
if I put controls outside of bands, how will they be displayed in my report? How does FastReport make sure, that these elements to not intervene with other bands or are they always dispalyed on top of each other?
Example: If I place a marker for a hope puncher on the left side of the Report just in the middle of a page, will that work? And how can I repeat this symbol for every page of my report?
if I put controls outside of bands, how will they be displayed in my report? How does FastReport make sure, that these elements to not intervene with other bands or are they always dispalyed on top of each other?
Example: If I place a marker for a hope puncher on the left side of the Report just in the middle of a page, will that work? And how can I repeat this symbol for every page of my report?
Comments
hint
set designer to unlimited height
after finishing your design add an overlay band make its height large enough to postion the objects vertically where you want them to appear.
an overlay always starts at the page top
your hint was good. It works. I tried to set e.g. the top property of the rectangle that I use as marker, and found a strange behaviour. The top property in the object inspector uses obviously cm as unit, but it seems, that the code expects another unit (may be pixels?). How can I change this?
fr01cm = 3.77953;
fr1cm = 37.7953;
fr01in = 9.6;
fr1in = 96;
For example, a band???s height equal to 5 mm can be set as follows:
Band.Height := fr01cm * 5;
Band.Height := fr1cm * 0.5;
You can alter the default value of the designer, view menu options
my own personal pref is to work in pixels.