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?
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com