Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 21.04.05 15:14 
Ist es möglich in einem Memo Zeile für Zeile hinzuzufügen??
Oder gibts da ne bessere Komponente dafür??
Ich möchte so eine Art Log machen, wo nach und nach daten Reingeschrieben werden.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 21.04.05 15:21 
Wenn du das Protokoll nicht fortlaufend sehen musst, würde ich eine TStringList nehmen. Die Daten kannst du dann bei Bedarf ins Memo laden.
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Do 21.04.05 15:23 
Memo.Lines.Add ?

_________________
[inspirationslos]
DaDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27

Win 2000, Linux
D2005 Prof
BeitragVerfasst: Do 21.04.05 15:26 
Schau dir bei TMemo mal die Eigenschaft "Lines" an. Diese ist vom Typ "TString". Somit kannst du mit

ausblenden Delphi-Quelltext
1:
Memo1.Lines.Add('test');					

einzelne Zeilen hinzufügen.

Sven

_________________
Das Denken ist die schwierigste Arbeit für einen Menschen. Deswegen beschäftigen sich ja auch nur so wenige damit...
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 21.04.05 15:34 
ok, dankeschön