Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppDBText Adjust Font Size

edited July 2014 in General
Hello,

I have a TppDBText in a report line with a fixed width and nominal font
size. The datafield length will allow for occasional longer text than can
fit in the TppDBText and the text will be clipped. At runtime I would like
to determine the text length in relation to the control width and reduce the
font size to allow the text to fit the control.

I had done this same thing in a similar project many years ago. But I don't
have access to that code and have a mental block.
I would really appreciate your help.

Thanking you,
Michael Malinowski
Production Resource Group (PRG)

Comments

This discussion has been closed.