Alternate Colours revisited
Hi,
I am still unsuccessfully trying to create rows of alternate colours. I
have a TppShape in the detail band but no matter what settings I choose (ie
ParentHeight, ParentWidth, ShiftWithParent & StrectWithParent), the shape
appears underneath the fields, not in the background.
Note that the fields I am showing are created as TppDBText components at
run-time and are not created within the designer. Could this be causing an
issue?
Thanks
Alex
I am still unsuccessfully trying to create rows of alternate colours. I
have a TppShape in the detail band but no matter what settings I choose (ie
ParentHeight, ParentWidth, ShiftWithParent & StrectWithParent), the shape
appears underneath the fields, not in the background.
Note that the fields I am showing are created as TppDBText components at
run-time and are not created within the designer. Could this be causing an
issue?
Thanks
Alex
This discussion has been closed.
Comments
i do suspect the ont-the-fly created tppdbtext components to be beneath the
shape
so i suggest after creating those field to issue a TppShape.SendToBack to be
sure the Shape is behind the controls
this should work
this is from the help file (TppComponent)
Description
The SendToBack method places the report control behind all other report
controls within the same band.
To do this from the Report Designer, select the component and then click the
SendToBack button on the Format Bar.
cu
marc
the detail band, and alternates the the color of the shape between bands.
http://www.digital-metaphors.com/tips/RuntimeFieldCreation.zip
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com