I am trying to create a listbox that has the exact height of a determined number of lines using specified fonts.
I tried to multiply the font size by 1.33 and then devide by 0.72 to get the number of pixels for each line. Unfortunately, this doesn't work correctly. I tried to tweek the numbers above to get it right. It will then be right for a font size but fail for another font sizes.
Can anyone please help?
fhutt
I tried to multiply the font size by 1.33 and then devide by 0.72 to get the number of pixels for each line. Unfortunately, this doesn't work correctly. I tried to tweek the numbers above to get it right. It will then be right for a font size but fail for another font sizes.
Can anyone please help?
fhutt