Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Width of a TextBox
Message
De
11/03/2002 06:54:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/03/2002 06:48:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00630537
Message ID:
00630872
Vues:
25
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform