By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,052 Members | 1,551 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,052 IT Pros & Developers. It's quick & easy.

lsitbox auto scroll to last line

P: n/a
Hi,

Is it possible to scroll a listBox to last line every time an Item is add to
it ?

--
rgds, Wilfried
http://www.mestdagh.biz
Sep 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

This works:

listBox.SelectedIndex = listBox.Items.Count - 1;
listBox.SelectedIndex = -1;

--
rgds, Wilfried
http://www.mestdagh.biz
Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.