![]() |
TColorDialog >>> automatische Aktuallisierung
Ich habe ein Image, welches mit einer Farbe gefüllt wird (aus einem ColorDialog)!
Nun möchte ich, dass, sobald sich die ColorDialogfarbe ändert, dass sich auch die farbe des Images ändert. |
Re: TColorDialog >>> automatische Aktuallisierung
automatisch geht das nicht, du musst schon etwas quelltext tippen:
Delphi-Quellcode:
wo genau kommst du nicht weiter?
if ColorDialog.Execute then
//Fill Image with ColorDialog1.Color |
Re: TColorDialog >>> automatische Aktuallisierung
Sorry ;) Ich glaube ich habe mich falsch ausgedrückt ^^
Delphi-Quellcode:
Er führt {...} nur, nach dem "Abrechen aus, aber ich dachte an die Möglichkeit:
if CD.Exectute then
{...}
|
Re: TColorDialog >>> automatische Aktuallisierung
ich wüsste nicht, dass der ColorDialog das kann. bastel dir doch ein extra form, in dem man die farben auswählen kann. dann kannst du auch eine automatische aktualisierung basteln :)
aeno |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:02 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