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....
How to enlarge a textbox control when it is mouse-overed?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Sep 27, 2011, 11:03 AM EDT
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.