Autor Beitrag
knuffel
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 68

WIN XP Prof
D3 Prof, D7 Ent
BeitragVerfasst: Mi 22.10.03 12:22 
Hi ! :dance2:

ich habe ein richedit mit beiden scrollbars.
nun möchte ich aber dass ich mit einem timer oder so automatisch herunterscrolle (also vertical).
das soll automatisch gehen ohne dass der benutzer selber scrollt.

weiß jemand wie ?

danke, knuffel

_________________
Carpe Diem. Also programmier mit Delphi.
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Mi 22.10.03 15:01 
TWinControl.ScrollBy

barfuesser
knuffel Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 68

WIN XP Prof
D3 Prof, D7 Ent
BeitragVerfasst: Do 23.10.03 09:33 
irgendwie will das bei mir nicht klappen.
ein beispiel vielleicht ?

knuffel

_________________
Carpe Diem. Also programmier mit Delphi.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 11:09 
knuffel hat folgendes geschrieben:
ein beispiel vielleicht ?

Zeig doch mal wie Du das gemacht hast. Dann können wir auch besser helfen.

Gruß
Tino
knuffel Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 68

WIN XP Prof
D3 Prof, D7 Ent
BeitragVerfasst: Do 23.10.03 11:18 
@ Tino u. barfuesser: so hab ichs gemacht:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.Image13Click(Sender: TObject);
begin
 richedit2.Lines.loadfromfile('unit01.pas');
richedit2.ScrollBy(0,3);
  end;


so tut sich nämlich nichts. aber warum nicht ? :(

_________________
Carpe Diem. Also programmier mit Delphi.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 11:21 
Ein Beispiel wie man in einem Memo oder auch in einem RichEdit die Zeile und Spalte setzt steht in der FAQ: ...die Zeile/Spalte in Memos lesen/setzen?

Gruß
Tino
knuffel Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 68

WIN XP Prof
D3 Prof, D7 Ent
BeitragVerfasst: Do 23.10.03 11:31 
supi. das hab ich gesucht ! 8)

_________________
Carpe Diem. Also programmier mit Delphi.