wie kann man es trennen wenn man zb. 2 oder 3 edits in die ini nur speichern will?
Delphi-Quellcode:
begin
if TEdit(Components[i]).Name = 'prodLK',??? then
ini.WriteString('Daten'+FormatDateTime('yyyy',Summen.Date),(Components[i] as TEdit).name,(Components[i] as TEdit).text)
else if Components[i] is TDateTimePicker then
ini.WriteString('Summen',(Components[i] as TDateTimePicker).name,FormatDateTime('yyyymm',(Components[i] as TDateTimePicker).Date));
end;
finally
ini.Free;
end;
end;