aligning DBText controls at runtime
Hi all,
I have two DBText controls in my DetailBand, DBText1 and DBText2 at the
right from DBText1. Both controls have different font settings and colors.
Therefore I
cannot bind the data in a variable control. In dependence of the with of the
first
control I would like to place the right control - say for 3 millimeters.
When data changes the controls should be realigned to
save the horizontal distance between controls.
How can I do this in ReportBuilder (RAP)?
Thank you
Michael Schwarzl
I have two DBText controls in my DetailBand, DBText1 and DBText2 at the
right from DBText1. Both controls have different font settings and colors.
Therefore I
cannot bind the data in a variable control. In dependence of the with of the
first
control I would like to place the right control - say for 3 millimeters.
When data changes the controls should be realigned to
save the horizontal distance between controls.
How can I do this in ReportBuilder (RAP)?
Thank you
Michael Schwarzl
This discussion has been closed.
Comments
Unfortunately there is no horizontal shifting of components in
ReportBuilder. You might try creating a RAP pass thru function that returns
the text width of a string based on the text and font you send it. Then
using this width, and the original position of the first DBText component,
you can allign the second DBText accordingly.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com