December 07, 2019, 10:12:57 pm

News:

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


Listbox limitations

Started by Brian, October 28, 2018, 06:02:49 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Hi,

Does anyone know if there is a limit on the length of a line in a listbox, and also the total amount of text a listbox can hold? I'm wondering if it would be best to change from a listbox to a richedit control for a sort program I am modifying

Thanks in advance,

Brian

LarryMc

did a little searching and the best I could find was nothing specific for a string length
2000 for the number of strings that can be displayed at one time
and maybe 200,000 total lines before you possibly start running the risk of program stalling/crashing.
but on a local computer some got up to a million.  lot has to do with available memory
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

Thanks, Larry,

I did have a look myself, but it was inconclusive. I reckon I will be OK for the project I am doing at the moment

Brian