procedureSaveConfig(Edit:TEdit); begin withTIniFile.Create(IniFileName) do begin try WriteString(‘Path‘,‘Edit1.text‘,Edit.Text); Finally Free; end; end; end;
procedureReadConfig(Edit:TEdit); varINI:TIniFile; begin withTIniFile.Create(IniFileName) do
begin try ReadString(‘Path‘,‘Edit1.text‘,‘‘); Finally Free; end; end; end;