label in region overlapping region border
I have region in my title band that has several TppLabel and TppDBText in
it. The region's Pen has a width of 4. Stretch is set to True. My
problem is that the text in the bottom labels overlaps the bottom border
of the region.
For example, one of the labels is set to 'Application', and the bottom
part of the p characters overlaps the border when a report is generated,
even though it doesn't in the designer. The designer shows space between
the labels and the bottom border. This space disappears when actually
generating report at runtime.
How can I make sure that there is space between the bottom border of the
region and the labels?
Thanks,
Jason
--- posted by geoForum on http://delphi.newswhat.com
it. The region's Pen has a width of 4. Stretch is set to True. My
problem is that the text in the bottom labels overlaps the bottom border
of the region.
For example, one of the labels is set to 'Application', and the bottom
part of the p characters overlaps the border when a report is generated,
even though it doesn't in the designer. The designer shows space between
the labels and the bottom border. This space disappears when actually
generating report at runtime.
How can I make sure that there is space between the bottom border of the
region and the labels?
Thanks,
Jason
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
If you are primarily using static components such as Labels, you will need
to be sure the bottom of the label component does not touch (or overflow)
the bottom of the region. In some zoom settings in may still look as though
the region is overlapping a component however when printed to the printer,
this will not be the case.
Another option is to use a TppMemo object and adjust the Leading property to
give more space below each line of text.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The labels are not touching the bottom of the region. There is noticeable
space between the label and the bottom region border. But this space
disappears at runtime, even after print to a pdf.
Switching to a ppMemo really isn't an option at this point.
Please advise.
--- posted by geoForum on http://delphi.newswhat.com
There is now a patch available for RB 10.07 that fixes this problem. Please
send an email to support@digital-metaphors.com requesting the patch.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com