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

Alternate Colours revisited

edited May 2002 in General
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

Comments

  • edited May 2002
    Alex,
    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

  • edited May 2002
    Check out the demo below which creates fields at runtime, creates a shape in
    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

This discussion has been closed.