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/)
-   -   Caption im TColorDialog (https://www.delphipraxis.net/201895-caption-im-tcolordialog.html)

Amateurprofi 8. Sep 2019 01:36

Caption im TColorDialog
 
Wenn ich einen TColorDialog öffne steht in der Caption des Dialogs "Farbe".
Nun möchte ich in der Caption des Dialogs angeben, wofür der Anwender gerade eine Farbe aussucht.
Beispiel:
In einem Programm gibt es die Option die Schriftfarbe und die Hintergrundfarbe für irgend etwas zu ändern.
Dann möchte ich, dass in der Caption des Dialog z.B. steht "Hintergrundfarbe für ...".

Weiß jemand, ob und wie die Caption eines TColorDialog geändert werden kann.

zeras 8. Sep 2019 06:09

AW: Caption im TColorDialog
 
Probiere doch mal das hier.
Bei mir geht das.

Amateurprofi 8. Sep 2019 15:13

AW: Caption im TColorDialog
 
Zitat:

Zitat von zeras (Beitrag 1445151)
Probiere doch mal das hier.
Bei mir geht das.

Vielen Dank, zeras, funktioniert.
Ich hatte das genau so probiert, allerdings vor dem Execute und nicht im Show.


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:47 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