Autor Beitrag
CrazyLuke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 247

Windows XP Pro
Turbo Delphi Explorer, D2005 PE
BeitragVerfasst: Sa 11.11.06 20:00 
Hi!


Ich habe Probleme mit der WordWrap-Funktion von der RichEdit-Komponente.

Was mich stört ist, dass - auch ohne WordWrap - am Ende immer ein Zeilenumbruch erfolgt, d.h. es wird immer eine Leerzeile am Schluss angefügt. Kann man das verhindern?


Edit:
Die zwei anderen Fragen wurden in separate Threeads gepackt.

_________________
"Was kommt vor 'Schmetterlinge im Bauch'? Raupen im A*sch!" (Bastian Pastewka, "Pastewka", Sat1)


Zuletzt bearbeitet von CrazyLuke am Sa 11.11.06 22:08, insgesamt 1-mal bearbeitet
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 11.11.06 21:47 
Hallo,

zu Frage Nr. 2:
ausblenden Delphi-Quelltext
1:
2:
3:
  RichEdit1.SelStart := Length(RichEdit1.Text)-1;
  RichEdit1.SelLength := 2;
  RichEdit1.ClearSelection;


:roll: 1. u. 3. >> je ein neues Thema mit näheren Erläuterungen wie Text im RichEdit geladen/geschrieben/ausgegeben wird.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
CrazyLuke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 247

Windows XP Pro
Turbo Delphi Explorer, D2005 PE
BeitragVerfasst: Sa 11.11.06 22:07 
Danke, hat geklappt :D

_________________
"Was kommt vor 'Schmetterlinge im Bauch'? Raupen im A*sch!" (Bastian Pastewka, "Pastewka", Sat1)