Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi TColor in String umwandeln (https://www.delphipraxis.net/49989-tcolor-string-umwandeln.html)

bigg 19. Jul 2005 12:43

Re: TColor in String umwandeln
 
Zitat:

TColor ist kein pointer auf Cardinal btw
sondern nur ein normales cardinal </senf>
ich dummerchen :oops: :wall:

turboPASCAL 19. Jul 2005 13:06

Re: TColor in String umwandeln
 
Übrigens:

Delphi-Quellcode:
procedure WriteInteger(const Section, Ident: String; Value: Longint); virtual;
WriteInteger arbeitet mit Longint ein Integer Typ

Delphi-Quellcode:
Cardinal            0 .. 4294967295 ( unsigned 32-bit )
Longint   –2147483648 .. 2147483647 ( signed 32-bit )

type TColor = -$7FFFFFFF-1 (-2147483646) .. $7FFFFFFF (2147483647)
Das sollte also ausreichen. (wenn ich mich nicht irre :wink: )

Stony2k 20. Jul 2005 15:51

Re: TColor in String umwandeln
 
IntToStr hat wunderbar geklappt. Ich habe immer TColorToStr versucht und das hatte irgentwie net geklappt. Aber nun funzt es und ich bedanke mich für eure Hilfe :)


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

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