Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
i am showing my latest song in datalist now i have a problem
how can i move scroller automatically ?
thanks in advance.
Posted
Comments
John Orendt 21-Feb-13 9:46am    
Are you using a ListBox to display the data?
Jegan Thiyagesan 21-Feb-13 10:20am    
Your question on the title and the question in the content are two different thing. which one do you need answered?
[no name] 22-Feb-13 0:11am    
yes sir i am using ListBox to display the data and i edited the title.

1 solution

Hi Here is the code to scroll a listbox to the end.

listBox1.TopIndex = listBox1.Items.Count - 1;

You call this every time you add an item to the list.

Regards
Jegan
 
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