Re: Max number of items in a listbox?
From: Martin (martinvalley_at_comcast.net)
Date: 06/14/04
- Next message: Mr. Lee: "Re: Make vbScript An Exe"
- Previous message: Björn Holmgren: "Re: Make vbScript An Exe"
- In reply to: Björn Holmgren: "Re: Max number of items in a listbox?"
- Next in thread: Björn Holmgren: "Re: Max number of items in a listbox?"
- Reply: Björn Holmgren: "Re: Max number of items in a listbox?"
- Reply: DNagel: "Re: Max number of items in a listbox?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 07:58:23 -0700
Thanks.
Yes, I agree regarding UI design. In this instance, I'm using a
ListBox as sort of an event log. My program communicates with other
devices and I provided some trouble-shooting screens with the logging
being able to be turned on and off. It just dawned on me that I'm not
limiting the number of entries that can accumulate in this listbox
and, if the user were to let it run for a day or so, I could get to a
point where the program could crash. I need to add some code to remove
entries from the top of the list when the listcount exceeds some
number (probably 5000 entries).
On Mon, 14 Jun 2004 16:31:51 +0200, "Björn Holmgren"
<bjohol@hotmail.com> wrote:
>"Martin" <martinvalley@comcast.net> wrote in message
>news:q7drc05jv0n3fek3dm12f7d4oklm3b1jvm@4ax.com...
>> What's the maximum number of items that can be added to a ListBox?
>
>32767 (at least using VB)
>
>That's more of a theoritical limitation though. Filling a listbox with
>thousands of items must - in all cases - be considered poor UI design.
- Next message: Mr. Lee: "Re: Make vbScript An Exe"
- Previous message: Björn Holmgren: "Re: Make vbScript An Exe"
- In reply to: Björn Holmgren: "Re: Max number of items in a listbox?"
- Next in thread: Björn Holmgren: "Re: Max number of items in a listbox?"
- Reply: Björn Holmgren: "Re: Max number of items in a listbox?"
- Reply: DNagel: "Re: Max number of items in a listbox?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|