AUTO SELECT the last item of the list box

brucelim80

Active member
Joined
Apr 20, 2006
Messages
35
Programming Experience
Beginner
hi all,

How do i write a code to auto scroll and select the last item of the listbox automatically when a button is clicked?


Thank you:confused:
 
ListBox1.SelectedIndex = ListBox1.Items.Count - 1

where ListBox1 is replaced with the name of your listbox
 
Back
Top