Autor Beitrag
Borg-Cube
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


Delphi 2009
BeitragVerfasst: So 14.12.03 10:48 
Hallo

ICh habe ein Memo in dem Text reingeschrieben wird. Jetzt möchte ich aber immer nur die letzte Zeile auslesen und in eine Variable schreibe. Ich hab aber im Moment grad keine Ahnung, wie ich das anstelle. Hat jemand einen Tipp?
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 14.12.03 10:53 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
var letztezeile : string;

...

letzteZeile := memo1.lines[memo1.lines.count - 1];
Borg-Cube Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


Delphi 2009
BeitragVerfasst: So 14.12.03 11:07 
danke. genau so gings