Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,How can I have a horizental scrollable listbox?I want to be able to see the large items in my list box without changing the size of it.
Posted
Comments
CodeHawkz 1-Mar-12 23:52pm    
You should give us more details. For instance, in .Net Framework 4 (Visual Studio 2010) all I have to do is to set "HorizontalScrollBar" to "true".
ready to learn 2-Mar-12 0:22am    
I'm using vs2008
ready to learn 2-Mar-12 0:39am    
thanks.I'm so sorry that I coudn't find such a simple property

You can try MultiColumn property of ListBox for this purpose.
An example is given here

http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.multicolumn.aspx[^]
 
Share this answer
 
PasanRatnayake answered the question in the comment.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900