Display scroll bar in textbox when contents are beyond the bounds C#

Anders picture Anders · Sep 10, 2009 · Viewed 35.9k times · Source

Is it possible to show/hide the scroll bar in a text box only when the line count in the text box is more than the number of lines displayed?

Answer

Austin Salonen picture Austin Salonen · Sep 10, 2009

Consider using the RichTextBox -- it has that behavior built in.