Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box sizing
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Text box sizing
Divers
Thread ID:
00165043
Message ID:
00165043
Vues:
63
Hi,

I am using 9 point Courier New instead of a proportional font for my text boxes. In the VFP 5 Enterprise Development book, Ron Paddock, etc. gave the following formula to calculate the required textbox width in pixels for non-bold:
(# char * 7 pixels) + 10 pixels

I like to use bold in my table maintenance screens so the values are clearly visible when the fields are not enabled for editing.

Can anyone suggest how I would change the above formula for bold characters?

Thanks!
Vern
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform