Autor Beitrag
willy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27

WinXP Pro (SP2), Suse9.3 Pro, Debian6

BeitragVerfasst: So 26.02.06 16:36 
Folgendes:

Ich würde gerne eigene Farben in Delphi kreieren (also z. B. wie in HTMl mit dem RBG-System). Gibt es irgendeine Möglichkeit, Farben nach Wunsch zu definieren? Wenn, ja beschreibt bitte, wie man das machen kann.

Danke im Voraus


mfg

Willy
Danny87
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: So 26.02.06 16:44 
das geht zum beispiel so

ausblenden Delphi-Quelltext
1:
form1.Color := $FFCC55;					


wobei das farbschema <Blau> <Grün> <Rot> ist

also ergibt sich folgendes

ausblenden Delphi-Quelltext
1:
2:
3:
form1.Color := $FF0000// sattes blau 
form1.Color := $00FF00// sattes grün
form1.Color := $0000FF// sattes rot



gruss daniel
willy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27

WinXP Pro (SP2), Suse9.3 Pro, Debian6

BeitragVerfasst: So 26.02.06 16:46 
*wand*

ok... vielen, vielen Dank :D

jetzt wo du es sagst, erscheint mir die Frage (beinahe) dämlich