Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining largest fontsize for a textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00564266
Message ID:
00564273
Vues:
20
This message has been marked as the solution to the initial question of the thread.
You need to compare fontmetric(1,...) with the textbox height.

>I tried searching under "fontsize" for this, but didn't find what I'm looking for, so I'm going to ask...
>
>Anyway, I have a textbox with a courier new font (not bold). It will hold 2 characters. Given the height and width of the textbox, is there a way to determine the largest fontsize I can use? Some sort of forumla?
>
>Thanks,
>
>Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform