General information
Category:
Forms & Form designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only