Thema: Delphi TColor in INI speichern

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: TColor in INI speichern

  Alt 10. Sep 2006, 10:24


Delphi-Quellcode:
procedure save;
begin
ini.writeinteger('x','y',Integer(clBtnFace));
end;
Funktioniert bei dir nicht?

und das laden dann so:

color := TColor(ini.readinteger('x','y',Integer(clBtnFace)));
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat