Auto Scroll option in List box

Here is a small code snippet to scroll the content in List box. (If the items are more)

In the top, you should add the code 

this.listBox1.TopIndex = 0; 

After wards, you have to modify the index of the list box slowly.

listBox1.Items.Add(line);
this.listBox1.TopIndex = listBox1.Items.Count - 1;

Check my previous post for the entire piece of code.

Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech,
Chennai.

WWW.kaashivinfotech.com
Ebook Download
View all
Learn
View all