Control has the horizontal scrollbar in Visual studio 2005

Hi there,
I want to ask a question with the following situation:
I am using Visual Studio 2005 to develop a Winform application. I want to bind my data in the form of string but when I used list box and my string is too long, it cannot be seen at the end because it don't give me the horizontal scrollbar.
And anyone knows which control that similar list box, each line of string item is separated in one line and I can see at the end of each one when it is too long by scroll the horizontal bar.
Or anyone can show me how to do with the list box or similar control to make it have scrollbar!
Thank you very much.
MarissaShannonAsked:
Who is Participating?
 
Fernando SotoRetiredCommented:
Hi MarissaShannon;

The ListBox will do it for you:

Set ListBox.AutoScroll = True
Set ListBox.HorizontalScrollbar = True

Fernando
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.