I have a section in my report that needs to have at least 12 lines(graphically) drawn.
if the text that I superpose on the lines exceeds 12 lines I have to increase the number of drawn lines to create the "look".
Ex:
test test test ... .... ... test
---------------------------------------------------------
.
.
.
test test test ... .... ... test
---------------------------------------------------------
Let's say that I have now 14 lines drawn under the text.
The text can be as big as the input is and the length of each "row"(not a recorset row) is equal to the line's length.
Another Ex: my string is big enough to be shown on 3 rows(lines) so under every row I need to draw a line.
The problem is that I cannot get the height of the textbox which contains the input string.
I can draw lines as many I want but I have to know the exact number.
If is not possible to get the text height is it possible to get the section height ?
I have a terrible cold, and my mind is probably playing tricks on me so that I cannot find any solution to this small problem.
I cannot use a formatting of the font to underline the text because it is very possible to exists vbcrlf-s in the input string and it ruins everything
if the text that I superpose on the lines exceeds 12 lines I have to increase the number of drawn lines to create the "look".
Ex:
test test test ... .... ... test
---------------------------------------------------------
.
.
.
test test test ... .... ... test
---------------------------------------------------------
Let's say that I have now 14 lines drawn under the text.
The text can be as big as the input is and the length of each "row"(not a recorset row) is equal to the line's length.
Another Ex: my string is big enough to be shown on 3 rows(lines) so under every row I need to draw a line.
The problem is that I cannot get the height of the textbox which contains the input string.
I can draw lines as many I want but I have to know the exact number.
If is not possible to get the text height is it possible to get the section height ?
I have a terrible cold, and my mind is probably playing tricks on me so that I cannot find any solution to this small problem.
I cannot use a formatting of the font to underline the text because it is very possible to exists vbcrlf-s in the input string and it ruins everything