Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids: Header, AutoFit and Fontometric(6)
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grids: Header, AutoFit and Fontometric(6)
Miscellaneous
Thread ID:
00894780
Message ID:
00894780
Views:
58
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
Map
View

Click here to load this message in the networking platform