Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Assignfile- einfaches "Laden" und "Speichern" (https://www.delphipraxis.net/79497-assignfile-einfaches-laden-und-speichern.html)

Luckie 24. Okt 2006 08:27

Re: Assignfile- einfaches "Laden" und "Speich
 
Korrigierte Version:
Delphi-Quellcode:
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
var
  aIniFile : TIniFile;
begin
  aIniFile := TIniFile.Create(ExtractFilePath(Application.ExeName) + 'Edit1Content.ini');
  try
    aIniFile.WriteString('Sektionsname', 'Edit1.Text', Edit1.Text);
  finally
    aIniFile.Free;
  end;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:17 Uhr.
Seite 2 von 2     12   

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