Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi ListBox mittel StringList in eine txt schreiben und lesen? (https://www.delphipraxis.net/142298-listbox-mittel-stringlist-eine-txt-schreiben-und-lesen.html)

AlexII 25. Okt 2009 20:22


ListBox mittel StringList in eine txt schreiben und lesen?
 
Hab irgendwo mal ein Tutorial gesehen, wo erklärt wurde wie man eine ListBox in eine .txt Datei speichern und auslesen kann. Kennt jemand vllt solche Tuts?

Bernhard Geyer 25. Okt 2009 20:25

Re: ListBox mittel StringList in eine txt schreiben und lese
 
Das kürzeste Tutorial aller Zeiten:

Delphi-Quellcode:
MyListBox.Items.SaveToFile(<DateiNameMitPfad);

MyListBox.Items.LoadFromFile(<DateiNameMitPfad>);

AlexII 25. Okt 2009 20:33

Re: ListBox mittel StringList in eine txt schreiben und lese
 
Thx :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz