Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids: Header, AutoFit and Fontometric(6)
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement