Autor Beitrag
florida
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137

Windows 7 Home Premium, Windows XP Professional, Windows 2000
Delphi 2010 Architect
BeitragVerfasst: Mo 23.11.09 20:31 
Guten Abend,

wie der Titel schon sagt, möchte ich, dass bei einem Richedit alle farbigen Wörter gelöscht werden.
Was für eine Methode kann ich dafür verwenden?
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 23.11.09 20:57 
ich glaube das sollte mit diesem code gehen:

ausblenden Delphi-Quelltext
1:
2:
richedit1.text.selectall;
richedit1.text.selattributes.font.color := clBlack;


ungetestet. ;)

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.