Text fields grow to same height.

  • Thread starter Thread starter Mark Felstead
  • Start date Start date
M

Mark Felstead

To all,

I have a report in which data is presented in rows, with
a border around each field. The amount of data in each
field varies. Each field has the "Can Grow" propertyy set
to "Yes". The final output has fields with differing
heights in the same row. Is there a way around this so
that each field finishes with the same height ie. the max
height of all of the fields.

Thanks.
 
Mark Felstead said:
To all,

I have a report in which data is presented in rows, with
a border around each field. The amount of data in each
field varies. Each field has the "Can Grow" propertyy set
to "Yes". The final output has fields with differing
heights in the same row. Is there a way around this so
that each field finishes with the same height ie. the max
height of all of the fields.

Not using the borders of the TextBoxes, no. You can use horizontal lines
just above and below the TextBoxes and then draw vertical lines using the
Line method of the report in the Format event of the section.

A trick of the Line method is that any lines drawn in a particular section
event cannot extend beyond that sections real estate. So, if you use the
Line method in the detail section and specify a bottom coordinate that is
very large the lines will always extend to the bottom of the section
regardless of how much it grows or shrinks.
 
Back
Top