Autor Beitrag
Danny W.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 296

Windows XP, WIN 2000
Delphi 2005 PE
BeitragVerfasst: Fr 03.11.06 13:18 
hallo... ich hoffe das wird mein letzter thread heute ^^

muss euch leider nochmal stören, entschuldigt mich bitte ;)


und zwar habe ich eine textdatei die ich einlese

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
03.11.2006|03.11.2006|13:55:00|13:55:30|Bildergalerie.pps
03.11.2006|03.11.2006|13:59:00|13:59:30|Hoffmann.pps
03.11.2006|03.11.2006|13:57:00|13:57:30|Moellering.pps
03.11.2006|03.11.2006|13:58:00|13:58:30|Busemann.pps
03.11.2006|03.11.2006|13:56:00|13:56:30|Citipost.pps
03.11.2006|03.11.2006|13:52:00|13:52:30|Seiters.pps
03.11.2006|03.11.2006|13:53:00|13:53:30|BegrüßungWulff.pps
03.11.2006|03.11.2006|13:54:00|13:54:30|BegrüßmonKult.pps
03.11.2006|03.11.2006|13:51:00|13:51:30|Rotary.pps
03.11.2006|03.11.2006|13:50:00|13:50:30|Querbeet.pps


diese teile ich mit einer stringlist auf und gebe sie in ein memofeld aus...

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  sl := TStringList.Create;
  sl.LoadFromFile('daten\daten.txt');

  for i := 0 to sl.count-1 do
    memo1.lines.add(sl.strings[i]);


jetzt geht mein memo-feld aber ab wie ein zäppfchen und deswegen habe ich den kompletten inhalt von sl.count mal in ein label ausgegeben...20480 strings...

ist das normal? wie löse ich dieses problem?

_________________
"Ich find den Fehler nicht. Der Artist wird immer als "Syntax Error" gezeigt :("
"Ach verdammt, der Artist heißt wirklich "Syntax Error" xD"
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: Fr 03.11.06 13:34 
Mach so wie ich es im anderen Thread gesagt hab:
ausblenden Delphi-Quelltext
1:
Memo1.Text := SList.Text;					

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

Windows XP, WIN 2000
Delphi 2005 PE
BeitragVerfasst: Fr 03.11.06 13:43 
hab ich, trotzdem steht in meinem sl.count jetz 11 ^^ obwohl es nur 10 datensätze sind :>
aber trotzdem dankesehr, das anzeige teil is ja nur obligatorisch

_________________
"Ich find den Fehler nicht. Der Artist wird immer als "Syntax Error" gezeigt :("
"Ach verdammt, der Artist heißt wirklich "Syntax Error" xD"
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 03.11.06 13:56 
Moin!

Hast du ne Leerzeile am Ende deiner Datei? ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Danny W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 296

Windows XP, WIN 2000
Delphi 2005 PE
BeitragVerfasst: Fr 03.11.06 14:05 
nein hab ich nicht *flücht-hinter-mauer-spring-und-duck*

danke ;)

_________________
"Ich find den Fehler nicht. Der Artist wird immer als "Syntax Error" gezeigt :("
"Ach verdammt, der Artist heißt wirklich "Syntax Error" xD"