Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to know if the text of a TextBox is larger that the TextBox?

$
0
0

1. I have a TextBox (e.g. textbox1)

2. I write something inside the textbox1

3. I also enter some new lines

4. After a while the text exceeds textbox1 borders and the cannot be seen anymore. 

The question: How can I know when the text is outside the borders of the textbox, to activate the scroll?

Please help!


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>