-
1
- #1
I have a form with amongst other a TMemo. I use that TMemo to write status information (i.e. "2005-01-11 13:42 Statistic fetched OK" and so forth).
As the program are to be run 24/7 without human intervention i would like to be able to remove old lines so i limit the number of lines to a certain number, like 20 or so.
What i essentialy would like to do is to remove the topmost line and thus move the rest of the lines up automatically. The criteria for when to remove that line is ready (TMemo->Lines->Count) but i can't find the function to remove a line from the surface of the earth.
Any ideas?
Totte
Keep making it perfect and it will end up broken.
As the program are to be run 24/7 without human intervention i would like to be able to remove old lines so i limit the number of lines to a certain number, like 20 or so.
What i essentialy would like to do is to remove the topmost line and thus move the rest of the lines up automatically. The criteria for when to remove that line is ready (TMemo->Lines->Count) but i can't find the function to remove a line from the surface of the earth.
Any ideas?
Totte
Keep making it perfect and it will end up broken.