Automatic Font Resize
Hey Guys!
Is there anyway to have a report (through RAP if necessary) to automatically
pick the appropriate size for the font so that all the text will fit in a
given component?
Example:
I have a DBEdit box that is 3 inches wide. The autosize property is turned
to false. If the text that is to be displayed is to long for the box at a
size 12 font, how do you change the font size to 10 or 8, etc. during print?
Thanks,
Bo Manry
MedManagement, LLC
bom@medmanagementllc.com
Is there anyway to have a report (through RAP if necessary) to automatically
pick the appropriate size for the font so that all the text will fit in a
given component?
Example:
I have a DBEdit box that is 3 inches wide. The autosize property is turned
to false. If the text that is to be displayed is to long for the box at a
size 12 font, how do you change the font size to 10 or 8, etc. during print?
Thanks,
Bo Manry
MedManagement, LLC
bom@medmanagementllc.com
This discussion has been closed.
Comments
this same approach will work with RAP and DADE:
http://www.digital-metaphors.com/Tips/AutoFontSize.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com