Auto Shrink Text Font to Fit Control

mbentley

Registered User.
Local time
Today, 13:20
Joined
Feb 1, 2002
Messages
138
I require tight control over the pagination of a report. As such, I cannot allow the controls to grow or shrink, but I do want to allow the users to add as much text to certain fields as possible. Is there a way to auto shrink text to fit in the space provided. I've written some code that alters the font size based on the length of the data string in the control. Problem is that this is nearly impossible to get right, as there is no way to account for the user inputting carriage returns or to account for word wrapping. Is there a better way? :confused:
 

Users who are viewing this thread

Back
Top Bottom