[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing the end of a list


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?

Follow-Ups:
Re: Showing the end of a listBruce Steers <bsteers4@xxxxxxxxx>
References:
Showing the end of a listRolf-Werner Eilert <rwe-sse@xxxxxxxxxx>
Re: Showing the end of a listBruce Steers <bsteers4@xxxxxxxxx>