Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.771 Beiträge
 
Delphi 10.4 Sydney
 
#5

Re: Ohne Zwischenspeicherung Ini-Datei downloaden und einles

  Alt 26. Mär 2008, 11:12
.. ja, TMemIniFile.SetStrings

Zitat von DelphiHilfe:
procedure SetStrings(List: TStrings);

Description

Call SetStrings to populate the in-memory copy of the INI file data with the contents of a string list.

List is a string list object, created and maintained by the application, from which the INI file data is copied.

SetStrings uses the Clear method to erase any existing INI file data prior to copying the new data.

SetStrings can be used to reread data from the INI file from disk after it is erased with the Clear method. The LoadFromFile method of a string list can be used to retrieve the contents of the INI file and then SetStrings can copy the data into the memory buffer
.

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat