Delphi-PRAXiS

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 Panel.Color = "Weiß" >> Nicht weiß (https://www.delphipraxis.net/83280-panel-color-%3D-weiss-nicht-weiss.html)

xZise 30. Dez 2006 13:47


Panel.Color = "Weiß" >> Nicht weiß
 
Ich habe ein Panel mit einer der Farben:
  • clWhite
  • clHighlightText
  • clCaptionText
(allo Weiß)

Und immer wird das Panel in clBtnFace angezeigt... Was kann man da machen?

PS: Über OI gesetzt.

Balu der Bär 30. Dez 2006 13:48

Re: Panel.Color = "Weiß" >> Nicht weiß
 
ParentColor steht auf true vielleicht?

sakura 30. Dez 2006 13:50

Re: Panel.Color = "Weiß" >> Nicht weiß
 
Zitat:

Zitat von Balu der Bär
ParentColor steht auf true vielleicht?

Egal, ParentBackground(evtl. Color) muss auf False stehen. Stichwort: Theming durch XML-Manifest.

...:cat:...

xZise 30. Dez 2006 14:00

Re: Panel.Color = "Weiß" >> Nicht weiß
 
Danke ;) Es funktioniert!

Muss ich nur "ParentBackgrnd" oder nur "ParentClr" auf false setzen?
Kann ich ja selbst testen :D


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:29 Uhr.

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