Autor Beitrag
tmkb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59



BeitragVerfasst: Mi 15.01.03 19:01 
Hallo,

Wie lösche ich eine zeile aus einem memo raus? also wenn davor stand:

ausblenden Quelltext
1:
2:
3:
4:
hallo
bla
test
nochmal ein test


Dann soll er Zeile 2 löschen, dann siehts so aus:

ausblenden Quelltext
1:
2:
3:
hallo
test
nochmal ein test



Sollte nicht allzuschwer sein, mir fehlt aber der nötige befehl.
mfg
Tmkb
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Mi 15.01.03 19:08 
is es auch nicht .. der Befehl den du suchst heisst
ausblenden Quelltext
1:
  Memo1.Lines.Delete(<Zeilennummer>);					


MfG BungeeBug
Marc
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 169

Win 2000, Win XP, SuSE Linux 8.2

BeitragVerfasst: Mi 15.01.03 19:12 
BungeeBug hat folgendes geschrieben:
is es auch nicht .. der Befehl den du suchst heisst
ausblenden Quelltext
1:
  Memo1.Lines.Delete(<Zeilennummer>);					

Stimmt. Noch zu erwähnen wäre, dass die 1. Zeile die Zeilennummer 0 hat, die 2. die 1, usw.

Gruß Marc
torstenheinze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 461



BeitragVerfasst: Mi 15.01.03 19:15 
und das gilt für alle anderen componenten mit zeilennummern (listbox, etc)