LucieLastic
Programmer
hi
I'm using D7 and have a TMemo which receives quite a lot of text. Is there a way of limiting the number of lines shown so it always displays, say the last 20 lines added. That is, I want the older lines removing automatically. I thought I could use the Capacity property but no.
I know I could write some code to manipulate the TStrings but I'm hoping there is a simpler way, a property perhaps...
Many thanks in advance
Lou
I'm using D7 and have a TMemo which receives quite a lot of text. Is there a way of limiting the number of lines shown so it always displays, say the last 20 lines added. That is, I want the older lines removing automatically. I thought I could use the Capacity property but no.
I know I could write some code to manipulate the TStrings but I'm hoping there is a simpler way, a property perhaps...
Many thanks in advance
Lou