Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating width for non-proportional font editbox?
Message
De
23/11/2001 16:19:14
 
 
À
23/11/2001 15:49:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00585221
Message ID:
00585232
Vues:
25
Pascal,
Check out TextWidth()

HTH
>I have an editbox object that I need to resize programmatically to make
>sure that it is wide enough to accomodate the longest line of text.
>
>Anybody has a suggestion on calculating the width in pixels for a known number of characters for non-proportional fonts? (maybe some approximation is needed)
>
>Thanks in advance
>
>Pascal
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform