Autor Beitrag
Sauger Chris
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Di 03.08.04 12:17 
hallo
ich habe ein problem ich möchte in einer memo komp.
zwei farben in einer zeile haben Beispiel:

12:00:00 "soll rot sein" und Hallo wie geht es dir "soll schwarz sein"

schon mal ein danke für eure Beiträge

Gruß

Sauger Chris(Delphi7)
Poolspieler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


D5 Prof / D7 Prof
BeitragVerfasst: Di 03.08.04 13:07 
Hi,
so weit ich das noch weiß, geht das mit Memo nicht!
Du brauchst dafür ein RichEdit!

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
RichEdit1.SelStart := 1;
RichEdit1.SelLength := 3;
RichEdit1.SelAttributes.Color := clRed;
RichEdit1.SelStart := 5;
RichEdit1.SelLength := 3;
RichEdit1.SelAttributes.Color := clBlue;


Gruß

Poolspieler

_________________
Ich weis, das ich nichts weis, aber was bringt mir das?
Sauger Chris Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Di 03.08.04 13:19 
Danke

ich probiere es gleich mal aus

Gruß

Sauger Chris(Delphi7)