April 27, 2024, 03:33:55 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


How much stuff can a Listbox hold ..

Started by GWS, January 19, 2007, 07:02:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GWS

Hi folks,

The help file mentions @LBNERRSPACE as a message when the listbox cannot allocate enough memory to hold all the items being loaded into it.

Anyone know how much 'stuff' it can hold before it blows up ..  :)

I was thinking of shovelling lots of strings into one - my idea won't work if it's capacity is very limited .. ::)

Graham
Tomorrow may be too late ..

Jim Scott

I've created list view controls with 5000 rows and 8 columns without problems.  I've got 2 Gig of RAM.  If you'd like I can double it several time until it blows up and let you know.  Don't know the relationship between list view, list box, number of items vs. size of items and RAM though.

Jim
Jim Scott

Ionic Wind Support Team

On windows 9x system the limit was 32767 items.   The total size of all strings is only limited by available memory.
Ionic Wind Support Team

GWS

Phew .. big box! .. :)

I'm not likely to fill that up ..

thanks folks, :)

Graham
Tomorrow may be too late ..