IonicWind Software

IWBasic => General Questions => Topic started by: Brian on October 28, 2018, 06:02:49 AM

Title: Listbox limitations
Post by: Brian on October 28, 2018, 06:02:49 AM
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
Title: Re: Listbox limitations
Post by: LarryMc on October 28, 2018, 08:46:08 AM
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
Title: Re: Listbox limitations
Post by: Brian on October 28, 2018, 08:48:48 AM
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