Ordering of draw commands

edited March 2010 in Devices
Hi,

Is it possible for this situation to occur?

DrawCommandX (left 21000, top 10000) is received by the DrawText method
before DrawCommandY (left 21000, top 8000).

If so why would this happen? Is it depenant on the order of component
creation? How does Report Builder use it's discretion to order the
DrawCommands?

Thanks,

Anton

Comments

  • edited March 2010
    Hi Anton,

    ReportBuilder uses the z-order to define the order in which components are
    created and sent to a device.

    You can adjust the z-order by using the SendToBack, BringToFront,
    SendBackward, BringForward, functions in the designer. The current z-order
    can be seen in the Report Tree.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2010
    Hi Nico,

    Thanks for the insight, in that respect am I right in saying this:

    We have a DBText object, it will be rendered as many times as their are
    valid data entries for that column for all the rows. A later data entry will
    not appear before an earlier data entry.

    E.g. DBText1

    Record 1 = "Anton"
    Record 66 = "Nico"

    I am assuming according to what you said that i will not receive "Nico"
    before "Anton"

    Is this correct?

    Anton

  • edited March 2010
    Correct.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.