General information
Category:
Forms & Form designer
Title:
Height of a row in a List Box
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
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