Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Height of a row in a List Box
Message
De
30/08/1999 16:35:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Height of a row in a List Box
Divers
Thread ID:
00259391
Message ID:
00259391
Vues:
43
I'm trying to resize a list box, depending on the items that it has.

The problem here is that I need to know exactly the height of a row in the list box to be able to multiply it by the number of items and then get the height of the List Box.

There are some values that the function FONTMETRIC returns, but at least the ones that I'm using doesn't give me the exact height of a row in the pick list.

This is what I'm doing:

FONTMETRIC(1, FontName, FontSize) + FONTMETRIC(4, FontName, FontSize)

There are no Styles involved.

Does someone know if I'm missing something here?

Thanks in advance...

Lucy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform