Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box according to text width
Message
De
22/09/2014 17:28:22
 
 
À
22/09/2014 16:43:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01607999
Message ID:
01608011
Vues:
124
This message has been marked as the solution to the initial question of the thread.
This is actually harder to do, than you may immediately think. Check http://doughennig.com/papers/..%5CPub%5CGDIPlusX.pdf, search for "Measuring text".

>Hi All:
>
>I have a class to which I pass a string to be a value for a text box in the class. I then want to adjust the width of the text box so that it is the width of the text string. How do I convert text string width to form control width?
>
>Thanks,
>
>Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform