HELP

i need help making a

textboxwithscrollbar

? i cant find a way to make it every way i find does not work for me

[747 byte] By [joejoejoeoejoe] at [2007-12-25]
# 1

You've got to make better posts. I think you've been asked this in the past...

The subject should be informative and your problem well described. In this case the subject give no indication of the problem and the post doesn't explain "what doesn't work" for you...

Getting scrollbars in a textbox is as easy as setting the ScrollBar property. If you want the horizontal scroll to show up you have to set WordWrap to False.

Other than that I don't know how the scrollbars could "not work" for you...

rkimble at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2

You may have to set the multiline property to allow the textbox to be resized for vertical scrollbars.

spotty at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3
Oh yeah - you'll have to do that too
rkimble at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 4

I knew you knew....

I just simply stated to make sure the original poster knew.

spotty at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 5

Hey NP

That's the first most likely problem and it's a good thing you posted it.

I just felt silly for saying "I can't imagine what else would cause the scrollbars to not work"

rkimble at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 6

The scrollbars will appear if you set the mulitline property to true AND when the text exceeds the size of the textbox.

You can also change to multiline on the form by selecting the textbox. You will notice a little triangle in the upper right. Click on it and you can check the multiline box.

Solitaire at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...