Hi All,
I have a textbox control in my web page with multiline property set to true.
If text is more than the control size, a scroll bar appears to see entire text.
I want to enlarge the textbox control upto the entire text size, overlapping all controls in that page, when mouse is over the textbox control...
How to do this?
Any idea....
Thanks in advance....
Loading
Sam HobbsPosted Sep 27, 2011, 3:03 PM
You could enlarge the textbox by changing its size and position. I don't know how to determine how large the text is, in pixels, but if you can figure ou thow to determine that then you can use either the SizeFromClientSize Method or the SetClientSizeCore Method; I don't know what the difference is between them. The description of the SizeFromClientSize method is very vague.