Summary Band at bottom of page with vertical lines in detail
I want to force the Summary band to print at the bottom of the last page.
I can do this with the band's PrintPosition property but there's a
complication...
In the detail band I have vertical lines separating various columns. On
the last page I want these to stretch down to meet the summary band.
Is this possible? or is there a better way to implement the vertical
lines?
TVM,
Dave Riley
Tangent Software Ltd, Reading, UK
I can do this with the band's PrintPosition property but there's a
complication...
In the detail band I have vertical lines separating various columns. On
the last page I want these to stretch down to meet the summary band.
Is this possible? or is there a better way to implement the vertical
lines?
TVM,
Dave Riley
Tangent Software Ltd, Reading, UK
This discussion has been closed.
Comments
detail band to the bottom aligned summary band. Here is an example of moving
the draw commands for the summary band to the bottom of the page, as an
alternative to setting the PrintPosition. If the summary needs to break
across pages, it can do so as well. To draw the lines there is a demo
showing how to do this too. You'll have to merge the two tips together to
get the behavior you are looking for.
http://www.digital-metaphors.com/tips/AlignSummaryToBottom.zip
http://www.digital-metaphors.com/tips/DrawLineOnEachSide.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
couldn't find any list of them there and I wasn't able to go directly to
http://www.digital-metaphors.com/tips.
Dave.
On Thu, 23 Jan 2003 11:12:22 -0600, support@digital-metaphors.com (Jim
each of the "tips."
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I'll look forward to that, & I expect I won't be the only one :-)
TVM,
Dave.
Andrade
Deza Business
To this part...
lDrawLeftLine := TppDrawLine.Create(nil);
lDrawLeftLine.Page := ppReport1.Engine.Page;
lDrawLeftLine.LinePosition := lpLeft;
lDrawLeftLine.Left := ppReport1.PrinterSetup.PageDef.mmMarginLeft;
lDrawLeftLine.Top := liTop;
lDrawLeftLine.Height := liBottom - liTop;
add this line...
lDrawLeftLine.Pen.Width := 2;
Dave
"Dave Riley" escribi? en el mensaje
with 3 different print drivers (1 Panasonic laser, 1 HP inkjet and a PDF
driver).
It seems you *can* successfully set the width of horizontal lines to be
wider than 1 pixel, but *not* that of vertical lines - the setting is
ignored.
Can anyone else confirm this?
Dave.
On Fri, 7 Feb 2003 10:40:02 +0100, NOSPAMfrancisco@deza.com (Francisco)
I looked at the RB Source code. You need to set TppDrawLine.Weight. The
property type is Single. The value is in Twips. From the TppLine help
topic:
This property determines the width of the line. It is expressed in
points, which are roughly equivalent to 1/72nd of an inch. This is the
property which is set when you select a line width from the Draw
toolbar.
If you look in ppViewr.pas, the method
TppScreenDevice.DrawLine(aDrawLine: TppDrawLine) you will see the
following code:
{get pen width}
liPenWidth := Round( (aDrawLine.Weight * Screen.PixelsPerInch / 72) *
FScaleX);
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Francisco Andrade
Deza
"Nard Moseley (Digital Metaphors)" escribi? en
Dave.
On Fri, 07 Feb 2003 15:46:13 -0600, nard@digital-metaphors.com (Nard