Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AUTO FIT 1

Status
Not open for further replies.

johnny45

Technical User
Nov 8, 2006
136
0
0
CA
Not sure i'm in the right place fo rthis question.

I have a text box and would like to have the text in in auto fit...is this possible ? That is if the words are longer that the fixed withd of teh text box the font gets reduced....
 
You have to set a conditional font size

FormatField -> Font in the formula box next to size

If length(stringfield) <= 10 then 10 else
If length(stringfield) > 10 and length(stringfield) <= 20 then 8 else 6

Change your length and font size to suit, in my example if stringlength is less than 10 then font size is 10. etc

Ian
 
Thank you VERY MUCH for the info
Cheers,
J :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top