Hello again
I have a customer, who used a textBox in his program to display (error)-messages. When the program runns several hours, it seems that the program slowes down.
I had a look at the code and noticed, that he always added lines to the text box, but never deletes a lines. So, during a run for several hours, the text box filled up with some hundred lines of text.
I gues, that the slow down may come from the text box, because of the many lines of text in the text box. I think, that the box must reallocate new memory, when text is added to it, and so the memory get more and more fragmented, which will slow down the hole program.
Is this a possible reason?
What limits for text len does a text box have?
Thanks
Stepan