Band border and background rendered to small
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.
(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.
This discussion has been closed.
Comments
There is a patch available for this issue. Send an email to support@ to
receive the fix.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com