Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids: Header, AutoFit and Fontometric(6)
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids: Header, AutoFit and Fontometric(6)
Divers
Thread ID:
00894780
Message ID:
00894780
Vues:
56
Hi,
Should AutoFit() also automatically adjust the height of the headers in a grid? I find that
it adjusts the width but not the height.

Thisform.Grid1.Columns[1].AutoFit() && adjust for width only ??

On the other hand, if I use fontmetric(6) to adjust the height, how does fontmetric(6) work?
Should the variable Some_height be the number of lines, from top to bottom, in a header?

ThisForm.Grid1.HeaderHeight = Some_Height * FONTMETRIC(6, .FontName, .FontSize)

Thanks
Steve Elster
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform