Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Di 02.08.05 04:46 
Wie kann ich ein memoelement, also einen string völlig löschen, memo1.lines[i].clear;
funktioniert z.B. nicht. Wenn ich memo1.lines[i]:=''; schreibe, so bleibt ja eine Leerzeile vorhanden, was ich auf keinen Fall will.
FaTaLGuiLLoTiNe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 200
Erhaltene Danke: 5

Windows 7, Windows 8.1
Delphi XE
BeitragVerfasst: Di 02.08.05 05:06 
Hi. Was du suchst, ist die Methode Delete von TStrings:

ausblenden Delphi-Quelltext
1:
memo1.lines.delete(i);					

_________________
<< FaTaLGuiLLoTiNe >>
Rhinoceroses don't play games!