Autor Beitrag
FlaShGordon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

WIN XP

BeitragVerfasst: Do 12.07.07 20:25 
Sry, Anfängerfrage ^^

Ich habe eine simple ANSI-Textdatei (im Programm dann den Pfad) und wüsste gerne den Inhalt. Womit? Welcher Befehl??

Danke im voraus


Moderiert von user profile iconChristian S.: Topic aus VisualCLX (Component Library for Cross Platform) verschoben am Do 12.07.2007 um 22:18
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Do 12.07.07 20:31 
Zum einen wäre AssignFile für dich interessant oder die TStringlist, welche dein Freund ist.
Sinspin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1343
Erhaltene Danke: 121

Win 10
RIO, CE, Lazarus
BeitragVerfasst: Do 12.07.07 21:13 
TStringList ist definitiv die bessere Wahl. Nimm ein formular, zieh dir ein memo drauf und einen button. im OnClick ereignis des buttons lädst du dann memo1.Lines.LoadFromFile deine textdatei.

_________________
Wir zerstören die Natur und Wälder der Erde. Wir töten wilde Tiere für Trophäen. Wir produzieren Lebewesen als Massenware um sie nach wenigen Monaten zu töten. Warum sollte unser aller Mutter, die Natur, nicht die gleichen Rechte haben?
FlaShGordon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

WIN XP

BeitragVerfasst: Do 12.07.07 21:25 
Vielen Dank!

Damit kann man weiter arbeiten.
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Do 12.07.07 22:02 
user profile iconCalculon hat folgendes geschrieben:
Zum einen wäre AssignFile für dich interessant oder die TStringlist, welche dein Freund ist.

du hast eine coole art dich auszudrücken user profile iconCalculon! :zustimm:
... ich muss echt voll lachen :D :lol:
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Fr 13.07.07 18:33 
Jakob Schöttl hat folgendes geschrieben:
du hast eine coole art dich auszudrücken Calculon!
... ich muss echt voll lachen

:D Danke, :gruebel: dabei hatt' ich immer 'ne 4 in Deutsch :wink: ...