Well I am trying to autoscroll my ListBox or display everything the opposite way just like a shoutbox.
Please post the code here on how to do it. I have tried many ways but they either gave me errors or didn't work.
Well I am trying to autoscroll my ListBox or display everything the opposite way just like a shoutbox.
Please post the code here on how to do it. I have tried many ways but they either gave me errors or didn't work.
Just usethe ListBox.TopIndex
property.
Here's the help for it:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.topindex.aspx
Or otherwise you could just insert the new items on the top rather than the bottom.
As a general tip though, if you're having problems getting the ListBox
to do what you need, it might be worth using a ListView
in details mode instead.