Autor Beitrag
patmann2001
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 201

Windows 7 Prof.
Delphi XE2
BeitragVerfasst: Di 26.11.02 10:25 
Hallo
Ich möchte gerne, das jede Zeile, je nach Bedingung eine andere Schriftart oder Farbe bekommt. Wenn ich aber im Ereigniss OnChange die Farbe oder Schriftart mit Memo1.Font.Color ändere, dann gilt das immer für das ganze Memo. Wie kann ich das jetzt auf eine Zeile beschränken?

cu Patmann
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 26.11.02 10:46 
Mit dem Memo geht das nicht. Nimm dafür das tRichEdit. Mit der Suchfunktion von AUQ und dem Suchbegriff SelAttributes solltest Du ein paar Beispiel finden!

Gruß
TINO
patmann2001 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 201

Windows 7 Prof.
Delphi XE2
BeitragVerfasst: Di 26.11.02 14:28 
Danke, hat alles Prima geklappt
:lol:

cu Patmann
patmann2001 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 201

Windows 7 Prof.
Delphi XE2
BeitragVerfasst: Mi 27.11.02 05:57 
Wie komme ich mit dem Cursor an den Anfang einer Zeile? Also, wenn da schon 7 Zeilen drinstehen, soll der Curser an den Anfang der 5 Zeile springen, als Beispiel. Wie mache ich das?

cu Patmann
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mi 27.11.02 10:36 
Schau Dir mal die FAQ an!

Gruß
TINO
patmann2001 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 201

Windows 7 Prof.
Delphi XE2
BeitragVerfasst: Do 28.11.02 14:34 
Ok Tino
habe das jetzt hinbekommen, nur eine Frage noch, wie bekomme ich es hin, das beim Texthinzufügen der Scrollbalken unten steht?
cu Patmann