Autor Beitrag
lexmy3
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Di 27.09.05 16:33 
Hallo

Möchte Meinen Memoinhalt ins Word übergeben in bestimmter Reihenfolge!!!
Habe aber jeden Eintrag in neuer Zeile.

Was tun???

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
// Edit 1 bis 4 als eine Text Datei abspeichern + die Labels der Reihe nach///////////////////////////
procedure TForm1.BtnSaveClick(Sender: TObject);
begin
     if SaveDialog1.Execute then begin
     Memo1.clear;
     Memo1.Lines.Add(Label1.Caption);
     Memo1.Lines.Add(Edit1.Text);
     Memo1.Lines.Add(Label2.Caption);
     Memo1.Lines.Add(Edit2.Text);
     Memo1.Lines.Add(Label3.Caption);
     Memo1.Lines.Add(Edit3.Text);
     Memo1.Lines.Add(Label4.Caption);
     Memo1.Lines.Add(Edit4.Text);
     Memo1.Lines.SaveToFile(SaveDialog1.FileName);
     end;

mfg

Frankfurt a.M.

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt.
MrFox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 208

WIN 2000 Professional, Ubuntu 5.10
D3 Prof, D7 Pers, D2005 Pers, Java (Eclipse)
BeitragVerfasst: Di 27.09.05 18:39 
Probiers mal mit Memo1.Text := Memo1.Text + 'XXX';

_________________
Das Leben auf der Erde mag zwar teuer sein, aber eine jährliche Rundreise um die Sonne ist gratis mit dabei.
lexmy3 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Mi 28.09.05 08:29 
Titel: Danke!!!
user profile iconMrFox hat folgendes geschrieben:
Probiers mal mit Memo1.Text := Memo1.Text + 'XXX';


Danke hast mich weiter gebracht!!!

Mfg aus Frankfurtn a. M.