Autor Beitrag
SuperS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: Mi 18.02.04 20:46 
Wie kann man die Schriftart eines RichEdit Textes, den man getippt hat ändern ? :lol:
bug0815
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 62

Win2000, Xp, Vista
Delphi 2006, 2009
BeitragVerfasst: Do 19.02.04 20:31 
Hallo,

am einfachsten selektiert man erst den ganzen (oder gewünschten) Text. Anschließend kann man mit SelAttributes die Texteigenschaften nach belieben verändern.

ausblenden Delphi-Quelltext
1:
2:
RichEdit1.SelectAll;
RichEdit1.SelAttributes.Name := 'Tahoma';
SuperS Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: Fr 20.02.04 16:50 
Danke für die Antwort :D :D