Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FONTMETRIC() does not give proper value
Message
From
04/12/2002 05:46:21
 
 
To
04/12/2002 05:39:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00729344
Message ID:
00729346
Views:
11
>> FONTMETRIC() gives proper value for ARIEL font. But it is not proper with >> COMIC SANS MS and VERDANA (example) Fonts. Is there any better way to
>> calculate the WIDTH of TEXTBOX?

Are you using FONTMETRIC() to find the Average, Minimum or Maximum character size?

FONTMETRIC is NOT an exact science! take a look at TXTWIDTH() and combining the two should give you what you want.


Gary.
Previous
Reply
Map
View

Click here to load this message in the networking platform