![]() |
Verwendung von TJvFullColorPanel
Hat jemand von euch schon mal ein TJvFullColorPanel (von den Jedis) verwendet?
Wie krieg ich aus dem Ding ein TColor raus? Danke, Ralf |
AW: Verwendung von TJvFullColorPanel
Zum Beispiel so:
Delphi-Quellcode:
Shape1.Brush.Color := JvFullColorPanel1.FullColor;
|
AW: Verwendung von TJvFullColorPanel
:)
Wenn's so einfach wäre. Da kommen leider IRGENDWELCHE Farben raus. (statt rot ein Magenta mit $4FF00FF) Hat man zB AxisConfig=acXYZ, dann kann man
Delphi-Quellcode:
verwenden.
col:=JvFullColorPanel1.FullColor and $0000ffff;
Aber nett wär ja was allgemein gültiges. Ralf Zitat:
|
AW: Verwendung von TJvFullColorPanel
Damit filterst Du nur den Rotanteil der gewählen Farbe aus.
|
AW: Verwendung von TJvFullColorPanel
Zitat:
|
AW: Verwendung von TJvFullColorPanel
Exakt :thumb: Und dann ist es sogar völlig wurscht, ob man das Property FullColor von TJvFullColorPanel oder von TJvFullColorTrackBar nimmt: Hat man dem Property TJvFullColorPanel.ColorTrackBar eine TJvFullColorTrackBar zugewiesen, weisen beide FullColor-Properties stets denselben Wert auf.
|
AW: Verwendung von TJvFullColorPanel
Aaaaaah.
So funktioniert das also. Danke!!! Zitat:
|
AW: Verwendung von TJvFullColorPanel
Ich wußte das vorher auch nicht, hatte die Komponente noch nie zuvor eingesetzt. Während ich das gerade am Testen war, hatte BadenPower bereits seine Antworten gepostet :stupid: (alte Männer sind halt keine D-Züge)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:39 Uhr. |
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