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

BringToFront and SendToBack

edited January 2004 in General
Hi,

I have the feeling that "BringToFront" and "SendToBack" do how they like.

Example: I take one Rectangle (white brush) and put two labels with text in
it, one Label i "BringToFront" and one I "SendToBack".

I look at the preview and all works fine.

Then I print ... the Label, which should be in the front is not visible but
the label in the back is visible !?
But this is not reproducable. Sometimes I see both labels and sometimes i
see nothing (it seems depending on how often i changed the position).

I export the report to "PsRBExportDevices" and there is the same result.

Any idea whats wrong?
thanks
Peter

Comments

  • edited January 2004
    Hi Peter,

    There are no known issues with the SendToBack/BringToFront commands. If
    possible, please send a small example demonstrating this behavior to
    support@digital-metaphors.com and we'll take a look at it for you.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    Nico,

    I found the reason of the problem.
    I implemented a SubReport by code and transfered the components of the main
    detail band to the subreport detail band, and I looped the components from
    count-1 downto 0. So I inverted the sequence of the components and this
    converted the relative positions of the components.

    Thank you for your Answer and Cheers,
    Peter


    like.
    i
This discussion has been closed.