Autor Beitrag
Apollo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Fr 13.06.08 20:16 
Hallo Delphianer,

in meinem neustem Programm möchte ich eine Listbox
speichern (eigendlich nur die Items :wink: ).
Leider weiß ich dann auch nicht 'genau' wie man die Datei dann wieder
lädt. Ich hoffe ihr könnt mir helfen.
Danke im voraus, Apollo

_________________
Im Zweifelsfall immer das Richtige tun
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Fr 13.06.08 20:19 
Hallo,

Speichern: ListBox.Items.SaveToFile('dateiname');
Laden: ListBox.Items.LoadFromFile('dateiname');
Apollo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Fr 13.06.08 20:31 
Noch eine Frage: Mit 'dateiname' ist der Pfad gemeint, oder (also C:\bla\bla\bla.bla )
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Fr 13.06.08 23:12 
Ja.