Re: VB6 LISTBOX problem
- From: "mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx>
- Date: Sat, 20 Oct 2007 09:49:10 -0400
I have a problem with a listbox.
I believe the problem is the 'limitation' of the 'listbox' control
rather than anything I've done.
I want to add 47,232 entries to the listbox,
I've added the records using 'LIST1.ADDITEM x' without any problems (I
think, data looks ok).
If you look at the ListCount property you'll
see it's an integer. So that's your limitation.
No need to run Ivar's code. All he was trying
to say is that it doesn't work. (I wasted my time
trying it so others won't have to. :)
I've seen code, I think it was in VBPJ a few years
ago, that designs a fast Listbox by loading it
dynamically. You might check around for that. I
think the way it worked was to store the values
in an array and then subclass the Listbox, updating
it's display as it's scrolled, so that it's never actually
holding more than a few items.
.
- Follow-Ups:
- Re: VB6 LISTBOX problem
- From: Richard Mueller [MVP]
- Re: VB6 LISTBOX problem
- References:
- VB6 LISTBOX problem
- From: xx3884@xxxxxxxxxxxxxx
- VB6 LISTBOX problem
- Prev by Date: Re: VB6 LISTBOX problem
- Next by Date: Re: VB6 LISTBOX problem
- Previous by thread: Re: VB6 LISTBOX problem
- Next by thread: Re: VB6 LISTBOX problem
- Index(es):
Relevant Pages
|