April 19, 2024, 01:43:09 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


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