listbox behaviour when adding new items

ghoti
02-15-2008, 04:25 AM
Hi folks,

I have this listbox of 4 items height. At some point a fifth item is added at the bottom. How can I set the listbox so that it shows items 2 to 5 instead of 1 to 4 ?

I want it to always show the last item.

greet ghoti

Flyguy
02-15-2008, 05:23 AM
Set the .ListIndex property to the last item in the Listbox, this will automatically scroll the Listbox.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum