ListView Scroll

S

Stjepan Nikolic

I am using Listview control, set AutoScroll = true, when I add item to, the
scrollbar dispay, but it only set default position. I want to code to
control the scrollbar, set to a positon that I want
How to do that???

Thanks
Stjepan
 
S

Stjepan Nikolic

I've found solution for my problem!

listView.Items[iSelectedItem].EnsureVisible()

Thanks anyway

Stjepan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top