Word Wrap Problem
I am using RB 10.06 in Delphi 7 app to print a report of a Paradox database.
I have set up some regions with subreports that contain DB Text objects.
I have placed the DB Text component in the Detail band. I have the
following properties checked: Auto Size and Word Wrap.
The problem is that Auto Size doesn't seem to work. For instance, I have to
physically make the size of the box larger in the Design area for the text
to wrap. If I don't, then it just cuts off the text. However, if I only
have enough text for one line, then my box is twice as large as I need it.
Thanks
I have set up some regions with subreports that contain DB Text objects.
I have placed the DB Text component in the Detail band. I have the
following properties checked: Auto Size and Word Wrap.
The problem is that Auto Size doesn't seem to work. For instance, I have to
physically make the size of the box larger in the Design area for the text
to wrap. If I don't, then it just cuts off the text. However, if I only
have enough text for one line, then my box is twice as large as I need it.
Thanks
This discussion has been closed.
Comments
Autosize is for horizontal sizing only. If you would like the component to
wrap and resize automatically, you need to use a DBMemo set to Stretch.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com