Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine the height of an optiongroup?

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
I have an option group whose height is .884 inches. I have routine that converts this option group to a fldlst (web form). Now, if I convert .884 inches to pixels (at 96 dpi) I get 85 (I have code that does the conersion and have used calculators via web sites. So I know this calculation is correct.). When I do a print screen of both the web form and the access form and paste them into Photoshop, the access version of the option group is 10 pixels higher then the web form version. That is, I have to set the height of the web for fldlst to 95 pixels to make them match. Is there something I'm missing in determining the proper height?
 
Nevermind, figured out the problem. The height (.884) is actually the height + the height of the legend (label). Which explains the difference.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top