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/)
-   -   Firemonkey Style Farbe Panel Componente Laufzeit (https://www.delphipraxis.net/174895-firemonkey-style-farbe-panel-componente-laufzeit.html)

Jonas Shinaniganz 16. Mai 2013 20:13

Firemonkey Style Farbe Panel Componente Laufzeit
 
Kurz und schmerzlos,

wie kann ich in FM die Farbe meines Panels zur Laufzeit setzen?

Oder anders gefragt, wie kann ich einen CustomStyle zur Laufzeit erstellen, die Brush-Color anpassen
und ihm dann meinem Panel zuweisen?

Grüße Jonas

Jonas Shinaniganz 17. Mai 2013 00:08

AW: Firemonkey Style Farbe Panel Componente Laufzeit
 
Okay, habe grade etwas gefunden:

http://members.adug.org.au/2012/01/1...nkey-edit-box/

Leider ist der erste Kommentar doch recht treffend:

Zitat:

What you’re doing is very tempting, but suppose you want to change the colour scheme in future, suppose the next version of windows uses a very pale grey for the background colour instead of white.
Ich werde es jetzt ganz anders machen,

Vielen Dank


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:18 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 by Thomas Breitkreuz