Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine max font size
Message
From
06/04/2008 10:45:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Determine max font size
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01308525
Message ID:
01308525
Views:
79
Hi All

I am trying to determine the maximum font size that I can use to display some text in a label's caption. Word wrap for the label is on. I know the dimensions of the label, width and height. I know the number of characters in the text I want to display. How can I determine the largest font size I can use so that all the text fits within the label control's caption?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform