[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 794
  • Last Modified:

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.
0
MarissaShannon
Asked:
MarissaShannon
1 Solution
 
Fernando SotoCommented:
Hi MarissaShannon;

The ListBox will do it for you:

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

Fernando
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now