PatrioticTX
Programmer
I would like to hide the scrollbar on a multiline textbox if the amount of text does not exceed the visible bounds. For example, if the textbox height allows the display of two text lines, and up to two lines are typed in, I do not want the scrollbar to be visible (VB default is to disable the scrollbar). Once the number of lines typed exceeds two, I want the scrollbar to be visible. Note: I want this to occur with wrappable text... no CRLFs.
I was originally going to set the scrollbar to be visible when the control had focus, but the
property is readonly at runtime.
Any suggestions would be appreciated!
I was originally going to set the scrollbar to be visible when the control had focus, but the
Code:
scrollbars
Any suggestions would be appreciated!