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 DefAttribut bei Richedit (https://www.delphipraxis.net/57752-defattribut-bei-richedit.html)

monta 25. Nov 2005 20:35


DefAttribut bei Richedit
 
Ich möchte die Schriftfarbe eines DBRichedit ändern.
Dazu lese ich die Farbwerte aus einer Inidatei aus, was einwandfrei funktioniert.
Allerdings hab ich das Problem, dass sich die Schriftfarbe, wenn ich sie über DefAttributs ändern will, unverändert bleibt.

Delphi-Quellcode:
    DBRichEdit2.DefAttributes.Color := Colortemp;
Was mach ich dabei falsch?

Gruß monta


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