Autor Beitrag
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Do 26.10.06 17:52 
Hi,
weiß jemand wie man in eine Listbox aus einer Datei(txt,ini...) schreiben kann :? :?: :
Ich habe es so "versucht":
ausblenden Delphi-Quelltext
1:
ListBox1.Items.  //hier gibts kein .Files oder so					

Es gibt auch kein LoadFromFile.
Wie könnte man das realiesiren :?: :?:
Leuchtturm :wave:

PS: Ich bin auch für Alternativen offen

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Do 26.10.06 17:55 
user profile iconLeuchtturm hat folgendes geschrieben:

Es gibt auch kein LoadFromFile.

Bei mir schon...
ausblenden Delphi-Quelltext
1:
ListBox1.Items.LoadFromFile('myfile.txt');					

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Do 26.10.06 17:58 
THX
ich habe bloß so probiert mit LOADFROMFILE:
Listbox1.loadfromfile :oops: :oops: :lol:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.