Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Width of a TextBox
Message
From
11/03/2002 06:54:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/03/2002 06:48:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00630537
Message ID:
00630872
Views:
26
>It did not work properly. I got the answer as 66 with following command
>
>?FONTMETRIC(7,"MS Sans Serif",9)*LEN("WWWWWW")
>
>After changing the width to 66 also, last 'W' did not get displayed fully.

Then, perhaps, there is some small border, or something similar, which you have to add to get the correct width. A few points probably; you should be able to get an approximate value with a little experimentation.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform