Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Band border and background rendered to small

edited April 2014 in General
Hi,

(RbPRo 15.03, Delphi XE4)


After upgrading from 15.02 to 15.03 the border and background of bands are
rendered to small. It seems that the left paper margin is subtracted from
the width.

I see in ppBand.pas a few changes where

lDrawShape.Width := PrintPosRect.Right;

is changed to
lDrawShape.Width := PrintPosRect.Right - PrintPosRect.Left;

seems a correct change but when I inspect PrintPosRect.Right it has the
value of the width.
(Paper is A4, width = 210mm, left and right margins are 10 mm)
PrinPosRect.Right = 190000

Is this a known issue? It happens with our production code with applied
patches but I can also reproduce it in the original installed 15.03 design
time packages.



Regards,

Max Paay
Quadrant Software bv.
The Netherlands.

Comments

This discussion has been closed.