[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Showing the end of a list
[Thread Prev] | [Thread Next]
- Subject: Re: Showing the end of a list
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Wed, 7 Aug 2024 14:08:22 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Wed, 7 Aug 2024 at 13:29, Admin <admin@xxxxxxxxxx> wrote: > 07.08.2024 19:06, Bruce Steers пишет: > > > > On Wed, 7 Aug 2024 at 11:42, Rolf-Werner Eilert <rwe-sse@xxxxxxxxxx> > wrote: > >> A ListBox is to show entries which during runtime become more and more >> (log entries). >> >> How can I assure that the latest entries (at the bottom of the list) are >> shown whenever the list becomes longer? >> >> Thanks for any input! >> >> Regards >> Rolf >> > > Maybe set the Index to the last item after adding things > > ListBox1.Index = ListBox1.Count - 1 > > it should make it visible. > > BruceS > > isn't "ListBox1.Count -1" is just ListBox1.Max? > No because ListBox.Max does not exist ! You can use ListBox.List.Max if you really don't want to use ListBox.Count - 1 But it's the same thing.
Showing the end of a list | Rolf-Werner Eilert <rwe-sse@xxxxxxxxxx> |
Re: Showing the end of a list | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Showing the end of a list | Admin <admin@xxxxxxxxxx> |