All,

I am using VB.NET in VS10.

After I add items to a list box I'd like it to scroll down so that the most recent items are visible.

I tried this with no luck:

StatusListBox.SelectedItem = StatusListBox.Items.Count - 1

Can anyone tell me how to make the box always display the most recently added items?

Thanks,
Bill

StatusListBox.SelectedIndex = StatusListBox.Items.Count - 1

Perfect! Thank you. I should have tried that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.