ppLabel Text 'floats' when printed over direct-draw image
D7, RB7.04
I've been asked to modify that old, complicated report again...
I have a subreport that consists of a single record displayed in a
detail band.
The detail band is 'page sized' (8x10.5").
A ppImage is sized to fill the detail band, and a ppLabel sits near the
top left corner (ppLabel.top=0.1875).
When the report renders, the label background is painted in the proper
position, but the text 'floats' above it (on screen) - and doesn't
always actually print when sent to printer.
That is, I see something like:
MY Label Text
[xxxxxxxxxxx]
(Where [xxxxxxxxx] is the background colour of the label).
This happens when ppImage.DirectDraw is true.
If it's false, the label text renders over the label background
properly, but the image doesn't render at all.
ppImage:
MaintainAspectRatio - true
Stretch - true
AutoSize - false
Direct Draw - true (does not work if false).
ppLabel sitting in top right corner of ppImage.
Autosize - true
ShiftWithParent (tried both true and false)
Transparent (tried both true and false)
I've tried variations of bring to front and send to back on each of the
label and image.
I've tried reducing the size of the image, and placing the labels
outside of the image - renders on screen, does not render to printer
canvas (will not show up when printed).
So - is this a known issue? Is there a work-around, or would a more
recent version of RB eliminate the problem?
TIA.
Cheers.
--
EdB
This discussion has been closed.
Comments
This was not a known issue for RB 7.04. If you would like you can send
me a minimal example of this and I can test it with the latest version
or you can download a trial edition of RB 14.07 and test yourself.
If you would like me to test it, send the example in .zip format to
support@digital-metaphors.com.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've just (finally!) upgraded to RBP 14.08 (still under D7Ent) - the
issue has completely disappeared.
I'm having a few 'head-scratching' moments with a third-party graphics
component (custom registered graphic type) with RB 14.08. I'm actually
thinking now that the issue in RB7 may have been related to the display
of this graphic type on the same page (or rather, filling the canvas,
with the ppLabel "sitting on top").
Thanks!
EdB