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

print position

edited March 2007 in General
Hi,
I have a Subreport1. Inside the Subreport1, I have the Subreport2. Inside
the Subreport2, I have the Subreport3. Inside the Subreport3, I have the
Variable1.
How can I know the print position of the Variable 1 at runtime?

Best regards,
Tu

Comments

  • edited March 2007
    Hi Tu,

    This question was answered in your previous post in this newsgroup. Please
    do not double post.

    Below is my reply to your previous post.

    If you would like to find the print position of a component relative to the
    entire page, you will need to use the DrawCommand properties inside the
    OnDrawCommandCreate event for instance. These properties (Left, Top, etc.)
    are measured in microns (mm thousandths) so you will also need to convert
    the values to your report units. There are utility functions located in the
    ppUtils.pas file to do so.

    ppToMMThousandths
    ppFromMMThousandths

    --
    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.