Recognising page change at runtime.
I have a report with a details section that i wish to add a TppLine
object to just before the page breaks. I want to display this from
within code.
How can i do this within code at runtime?
Many thanks,
Tim Pepper.
--- posted by geoForum on http://delphi.newswhat.com
object to just before the page breaks. I want to display this from
within code.
How can i do this within code at runtime?
Many thanks,
Tim Pepper.
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Try using the page footer band to print any objects you would like at the
bottom of each page. Enable this band by selecting the Footer Band option
from the Report main menu option.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
the
option
--- posted by geoForum on http://delphi.newswhat.com
Thanks for your help but I didn't really explain my challenge properly.
I have data for which I am using TppLines as a border. The bottom
TppLine is held in the detail section and I want to set it to visible if
the space on the page isn't enough to print the next detail record. This
means I get a nice 'joined' border to my data.
If I use a TppLine in the footer, i sometimes get a gap between my left
and right border TppLines and the bottom TppLine.
Thanks,
Tim.
--- posted by geoForum on http://delphi.newswhat.com
Take a look at the following rbWiki article. This shows how to use a group
footer to print lines after the last detail is printed on a page. Instead
of multiple lines, you will only want to display a single line.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To..._Fill_a_page_with_lines
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com