I'm going to dynamically build a custom control, and add it to a page. I'm not sure which kind of control elements yet, because:
After I add the text to the control's text element,
I need a way to calculate the length of the text in the text element...
So I can then change the element's height, top and width.....
So that it only shows two lines (wrapped), and that it's bottom edge is at "set-able" position.
Any suggestions on how to calculate the text width of any appropriate text element would be welcome.