Re: Listbox scroll problem
- From: "Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Sat, 5 May 2007 16:40:54 -0400
I suspect this has missed the point, owing to my incompetence at explaining it... I'll try again.
As I make various entries in a program (in text boxes), I use the code... List1.AddItem Text1.Text
As the entries proceed, the list box fills up. When it is full the scroll bar appears, but I continue to see only the first entries, and have to use the scroll bar to see the latest.
I want to have it the other way: I want the latest items to remain visible, while the earlier ones "fall out of" the list box and must be brought back with the scroll bar.
Unless I am missing something in your request, just execute the line of code I gave you right after you execute the line of code you showed above.
List1.AddItem Text1.Text
List1.ListIndex = List1.ListCount - 1
Rick
.
- References:
- Listbox scroll problem
- From: Gingre
- Re: Listbox scroll problem
- From: Rick Rothstein \(MVP - VB\)
- Re: Listbox scroll problem
- From: Steve Gerrard
- Re: Listbox scroll problem
- From: Rick Rothstein \(MVP - VB\)
- Re: Listbox scroll problem
- From: Gingre
- Listbox scroll problem
- Prev by Date: Re: Listbox scroll problem
- Next by Date: Re: Any REAL reason to use ADO vs. DAO?
- Previous by thread: Re: Listbox scroll problem
- Next by thread: Re: Listbox scroll problem
- Index(es):
Relevant Pages
|