I am writing a program that will have lots and lots of messages to the user.
I would normally use a listbox and add the message at the end. What I was
wondering is is if there is some way to automatically limit the number of
items in the list box or do I have to delete them manually? (This is for a
program that is going to be running all the time, at least in theory, and I
need to have messages available to the user to display what is going on.)
TIA - Jeff.
Lloyd Dupont - 13 Nov 2006 03:24 GMT
Try, you'll see!
I don't see why a ListBox should automatically delete items, I would be
quite infuriated to have such a useless object!
BUT
maybe there is a property?
maybe you could write some code?
Also ListBox has quite horrible performance, maybe you want to use a home
made control?
>I am writing a program that will have lots and lots of messages to the
>user. I would normally use a listbox and add the message at the end. What I
[quoted text clipped - 4 lines]
>
> TIA - Jeff.
Ciaran O''Donnell - 14 Nov 2006 13:15 GMT
You have to delete them manually.
Ciaran O'Donnell
> I am writing a program that will have lots and lots of messages to the user.
> I would normally use a listbox and add the message at the end. What I was
[quoted text clipped - 4 lines]
>
> TIA - Jeff.