I have looked all over for this and have had no luck. I am writing a user control that mimics the textbox control. For several reasons I can not just place an intrinsic textbox on my user control. I have been able to duplicate everything that the textbox control does with the exception of the text placement from the top of the textbox. There are API's that will postion the text in every other aspect but not the distance from the top. I have figured that it has something to do with the font size but I can not determine an exact calculation that works. Does anyone have any insite, links, articles, or even guesses that could help with this? Thanks in advance.
P.S. I know that this question is more suited for the API or usercontrol form, but I did not want to make more than one post.
If you choose to battle wits with the witless be prepared to lose.
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
P.S. I know that this question is more suited for the API or usercontrol form, but I did not want to make more than one post.
![[neutral] [neutral] [neutral]](/data/assets/smilies/neutral.gif)
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)