Hello All, I've probably missed something obvious... but I can't seem to get a line to draw down the full length of the left hand side of the page - regardless of the size of the various bands. Could someone point me in the right direction. Thanks Colin
Hi Nico, I had tried that method earlier, however the line would stop short on the last page when the records in the details band stoped around half way up the page, then the final bit of the line would be displayed in the page footer band. Colin
Check out the following example. It shows how to add lines on each side of the page inside the empty space below the detail band and above the page footer. Hope this helps.
I have just across a similiar problem, I think. I am currently designing a report (invoice) which will laid out as such.
---------- Header ---------- Details (1 or more, across 1 or more pages) ---------- Footer ----------
The Header will be variable sized dependant upon user selection. Footer may not be visible or variable sized.
I was trying to get a box drawn around the area containing the maximum size of the details are, ie one that starts just underneath the Header and finishes just above the footer not around just the details that are printed. Is this the approach I should use.
Yes, this approach should work for you as well. You will need to add the draw commands like the example does, just format them to match the borders you have already drawn around the detail bands.
Comments
You can place a TppLine in each band and set its StretchWithParent property
to True to force a line to stretch the height of the dynamic band.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I had tried that method earlier, however the line would stop short on the
last page when the records in the details band stoped around half way up the
page, then the final bit of the line would be displayed in the page footer
band.
Colin
Check out the following example. It shows how to add lines on each side of
the page inside the empty space below the detail band and above the page
footer. Hope this helps.
http://www.digital-metaphors.com/tips/DrawLineOnEachSide.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have just across a similiar problem, I think. I am currently
designing a report (invoice) which will laid out as such.
----------
Header
----------
Details (1 or more, across 1 or more pages)
----------
Footer
----------
The Header will be variable sized dependant upon user selection.
Footer may not be visible or variable sized.
I was trying to get a box drawn around the area containing the maximum
size of the details are, ie one that starts just underneath the Header
and finishes just above the footer not around just the details that are
printed. Is this the approach I should use.
Mark Davis
Elite Practice Solutions.
Yes, this approach should work for you as well. You will need to add the
draw commands like the example does, just format them to match the borders
you have already drawn around the detail bands.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks Nico,
It works well.
Just for anyone for anyone else following this thread, I finally found
that the thickness of the line is set via the Weight property (in points)
The help for TppDrawline for Pen, LinePosition and LineStyle also seems
to "(always in thousandths of millimeters.)" in them for no apparent reason.
Mark Davis
Elite Practice Solutions.