Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Determine When Text Will Not Fit Within a Label
rbuser
January 2003
edited January 2003
in
General
Is it possible to detect when the text in a database field will not fit
within the assigned confines of a DB report field?
Thanks,
Al Willis
Comments
digitalmetaphors
January 2003
edited January 2003
Yes, you can determine this by performing a Canvas.TextWidth call. Here is
an exmaple that uses this call to shrink the text to fit inside a fixed
width (non autosized) label.
http://www.digital-metaphors.com/tips/AutoFontSize.zip
Cheers,
Jim Bennett
Digital Metaphors
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
an exmaple that uses this call to shrink the text to fit inside a fixed
width (non autosized) label.
http://www.digital-metaphors.com/tips/AutoFontSize.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com