Word Wrapping and border formatting
I have solved the word-wrapping problem by using a DBMemo field.
Unfortunately, I have a problem in that the report that I have to write
has an overall border that I was using fixed-height vertical lines in
the detail section for. Obviously, these do not expand with the DBMemo
field and leave a gap at the bottom of the detail section when the
DBMemo field expands.
Additionally each row in the detail band has a line at the bottom which
is a full-row width and is used as a separator. Sometimes it has to be
dashed and other times it has to be solid. Again, this doesn't move down
when the DBMemo field expands.
How can I get these lines to move as the DBMemo expands?
Many thanks,
Tim Pepper.
--- posted by geoForum on http://delphi.newswhat.com
Unfortunately, I have a problem in that the report that I have to write
has an overall border that I was using fixed-height vertical lines in
the detail section for. Obviously, these do not expand with the DBMemo
field and leave a gap at the bottom of the detail section when the
DBMemo field expands.
Additionally each row in the detail band has a line at the bottom which
is a full-row width and is used as a separator. Sometimes it has to be
dashed and other times it has to be solid. Again, this doesn't move down
when the DBMemo field expands.
How can I get these lines to move as the DBMemo expands?
Many thanks,
Tim Pepper.
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
One option would be to use the Border property of the DBMemo. This will
draw the border of your choice around the entire printed component. If you
need to enclose multiple objects within the border along with the memo, try
placing them all in a TppRegion with Stretch set to True.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com