Re: Listbox scroll problem
- From: "Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Sat, 5 May 2007 15:04:07 -0400
I have a listbox which has items added to it progressively as user entry progresses. Whenever it is full, the scroll bar appears as expected. However, I have to operate the scroll bar to read the latest entry. How can I arrange things so that the last entries are always showing, ie the early entries disappear off the top (and can be brought back by scrolling if inspection is needed)?
Whenever you want to place the selection on the last item of the ListBox, simply execute this code...
List1.ListIndex = List1.ListCount - 1
Rick
.
- Follow-Ups:
- Re: Listbox scroll problem
- From: Gingre
- Re: Listbox scroll problem
- From: Steve Gerrard
- Re: Listbox scroll problem
- References:
- Listbox scroll problem
- From: Gingre
- Listbox scroll problem
- Prev by Date: Re: Any REAL reason to use ADO vs. DAO?
- Next by Date: Re: Any REAL reason to use ADO vs. DAO?
- Previous by thread: Listbox scroll problem
- Next by thread: Re: Listbox scroll problem
- Index(es):
Relevant Pages
|