auto expanding edit box (to overcome limited screen space issue)
Posted on 2003-03-17
Due to *lack of screen space*, I need to implement an edit box that will expand (once it has focus) to show all its (read only) text and then return back to it's original size when the control loses focus.
Can anyone give me some help to achieve this? I have no idea how to calculate the required expanded size of the (multi line) edit box based on the string length and font size!
--Or is there any other method/control I can use to bypass the real estate problem?