Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto-sizing without being in design mode?
Message
 
 
À
01/07/2008 14:48:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01327956
Message ID:
01328027
Vues:
15
>>You can calculate the size of the word when rendered in a specified font using:
>>
>>FONTMETRIC(6,"<font name>",<font size>, <font style>) * TXTWIDTH("<text string>","<font name>",<font size>, <font style>)
>>
>

>I thought that was what I was doing with the len() / len(), and then setting the width * (len() / len()).

It's the same for none-proportional fonts only.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform