Autor Beitrag
tortom1000
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175

Win XP, Win Server 2003 - 2012, Win 7
Delphi 7
BeitragVerfasst: So 13.05.07 22:31 
Hallo,
ich habe eine kleine Anwendung programmiert und bin auf folgendes Problem dabei gestoßen:

Ich habe eine Text-Datei im Anwendungsverzeichnis liegen, bei der in der ersten Zeile
z.B. "Deep Star Six - Das Grauen aus der Tiefe" steht.
Nachfolgender Quelltext bewirkt lediglich die Anzeige von "Deep Star Six - Das Grauen aus der".

form1.Memo1.Lines.LoadFromFile(ExtractFilePath(ParamStr(0)) + 'datei.txt');
showmessage( form1.memo1.Lines[0]);

Wie kommt das, das der Ausdruck "form1.memo1.Lines[0]" auf 34 Zeichen gekürzt wird und wie kann ich das umgehen?

Viele Grüße
Tom
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 14.05.07 05:56 
Weil das Memo zu schmal ist? Nimm anstatt dem Memo eine Suche in der Entwickler-Ecke TSTRINGLIST.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
tortom1000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175

Win XP, Win Server 2003 - 2012, Win 7
Delphi 7
BeitragVerfasst: Mo 14.05.07 10:31 
Danke. Hat daran gelegen...