Autor Beitrag
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Fr 16.09.05 11:15 
Hi!

Hätt da mal ne Frage zu Delphi 7.
Kann man bei ner Memo-Komponente im Code auch irgendwie einzelne Zeilen auswählen?
Also zum Beispiel nem Array als wert die dritte Zeile zuweisen.
Oder geht das nur mit dem ganzen Text? Wär ganz nett wenn mir mal jemand helfen könnte. :D

Fabi
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Fr 16.09.05 11:27 
Moin und :welcome: im Forum!

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var
  Feld: Array[0..1] of String;

Feld[0] := Memo1.Lines.Strings[2];

cu
Narses
Fabian E. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Fr 16.09.05 17:57 
Jo alles klar. Danke.

Fabi