Autor Beitrag
Killmag10
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Do 22.09.05 19:03 
Hi

hab folgendes prob

Ich hab in kleinen Chat geschrieben und setzte den text in ein TRichEdit das funktioniert auch soweit...

doch muss ich auch bei einer gewissen zeilenanzahl auchmal wieder text rauslöschen das mach ich bei 100 zeilen

doch soballt ich lösche sprint der scrollbalken nach ganz oben und man sieht nicht den aktuellen text der unden hinzugefügt wird.

was kann ich machen das das TRichEdit unten bleibt ?????

mfg. Killmag10

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Do 22.09.05 19:49 
Hi!

Zitat:

TRichEdit springt hoch

*hüpf* :)

Nene Scherz beiseite!

Guck dir mal das an: www.delphi-forum.de/...ght=listbox+scrollen
Das dürfte auch äquivalent zum TRichEdit funktionieren

Alstar
Killmag10 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Do 22.09.05 22:19 
hab ich auch schon probiert funzt aber leiter auch nett

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
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: Fr 23.09.05 07:11 
Hallo,

wie wäre es damit?
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
with RichEdit1 do
  begin
    SelStart := Length(Text);
    Perform(EM_SCROLLCARET, 0, 0);
    SetFocus;
  end;

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )