Autor Beitrag
del1312
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190



BeitragVerfasst: Mo 10.07.06 14:37 
Ich hab nen Tool was alle paar Sekunden eine Textdatei ausliest und diese dann in einem Memo zeigt.
Wenn ich nun die Textdatei ändere möchte ich das das Programm aufklappt, aber halt nur wenn sich die
Datei ändert. Wie vergleicht man diese Memo.Lines? Hab es so versucht:

ausblenden Delphi-Quelltext
1:
2:
If Memo1.Lines <> Memo2.Lines Then 
.....

aber das klappt nicht ?!?!

Moderiert von user profile iconjasocul: Quote-Tags durch Delphi-Tags ersetzt
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: Mo 10.07.06 14:40 
Ich vermute:
ausblenden Delphi-Quelltext
1:
if memo1.text <> memo2.text then ...					
del1312 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190



BeitragVerfasst: Mo 10.07.06 14:48 
ach das war ja einfach, vielen dank jetzt klappts :o)