Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TColor als normaler Text (clRed -> Rot) (https://www.delphipraxis.net/114940-tcolor-als-normaler-text-clred-rot.html)

Sharky 3. Jun 2008 10:07

Re: TColor als normaler Text (clRed -> Rot)
 
Zitat:

Zitat von taaktaak
... Ist das in höheren Versionen anders???

Meine D2006 kennt diese Funktion auch (Ist eine einfache Case-Anweisung).
Delphi-Quellcode:
function ColorToPrettyName(Color: TColor; var Name: string): Boolean;
Und die Farbnamen sind auch in Deutsch hinterlegt.
Delphi-Quellcode:
 resourcestring
  clNameBlack = 'Schwarz';
  clNameMaroon = 'Braun';
  clNameGreen = 'Grün';

mkinzler 3. Jun 2008 10:09

Re: TColor als normaler Text (clRed -> Rot)
 
Und in welcher Unit?

Sharky 3. Jun 2008 10:09

Re: TColor als normaler Text (clRed -> Rot)
 
Zitat:

Zitat von mkinzler
Und in welcher Unit?

ExtCtrls


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