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/)
-   -   Delphi Farbe in Ini speichern? (https://www.delphipraxis.net/11857-farbe-ini-speichern.html)

r_kerber 15. Nov 2003 11:09

Re: Farbe in Ini speichern?
 
Dann lass links mal das IntToStr weg!

Pseudemys Nelsoni 15. Nov 2003 11:31

Re: Farbe in Ini speichern?
 
Zitat:

IntToStr(Editor.Color) := Ini.ReadString('Optionen', 'Farbe', '0');

das is ja auch falsch.... letzendlich wäre die linke seite nur die Colorzahl und nix mit Editor.Color O_o

machmal:

Delphi-Quellcode:
Editor.Color := StrToInt(Ini.ReadString('Optionen', 'Farbe', '0'));

r_kerber 15. Nov 2003 11:41

Re: Farbe in Ini speichern?
 
Oder
Delphi-Quellcode:
Editor.Color := Ini.ReadInteger('Optionen', 'Farbe', 0));

woki 15. Nov 2003 11:53

Re: Farbe in Ini speichern?
 
Hi,

nimm doch Colortostring und das Gegenstück stringtocolor

woki

citybreaker 15. Nov 2003 11:53

Re: Farbe in Ini speichern?
 
Juhu, jetzt gehts! :dance:


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:44 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