You could use a StringList as a buffer.
Add the text to the list instead of displaying it right away.
If the buffer is larger than some number, remove the oldest entry (index zero).
Call text() in a loop to draw the whole list.
You could use a StringList as a buffer.
Add the text to the list instead of displaying it right away.
If the buffer is larger than some number, remove the oldest entry (index zero).
Call text() in a loop to draw the whole list.