Autor Beitrag
Pdd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP
Delphi 7
BeitragVerfasst: Sa 06.08.05 13:32 
Moderiert von user profile iconraziel: Abgetrennt von diesem Topic.

Oh, halt noch ne frage, gehört aber auch zu memo!

ausblenden Delphi-Quelltext
1:
2:
3:
FTP.Get('datei.txt','C:\datei.txt',true);
memo1.Clear;
memo1.lines.LoadFromFile('C:\datei.txt');


hiermit wirt der text herutnergeladen und dann in das memo gestellt!
Das memo ist aber zu klein und daher passt der text nicht ganz rein, also soll es automatisch nach unten scrollen also: dragmode:=dmautomatic

so doch das funzt nicht, denn das scrollt nur runter , wenn man was tippt! gibt es einen andren weg, da runterzuscrollen?



Pdd

_________________
Wenn alles steht und nix mehr looft, denn isses was von Meikrosooft
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Sa 06.08.05 13:54 
setze mal memo1.selstart auf memo1.lines.count oder so

(zeilen zählen, dann selection auf unterste zeile)

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Pdd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP
Delphi 7
BeitragVerfasst: Sa 06.08.05 14:20 
ne, des funtzt net gibt's net ne andre möglichkeit???

_________________
Wenn alles steht und nix mehr looft, denn isses was von Meikrosooft
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Sa 06.08.05 14:44 
ausblenden Delphi-Quelltext
1:
2:
  memo1.selstart := length(memo1.text);
  memo1.SelLength := 1;


1. aber was hat bitt DragMode damit zu tun
2. bittw trotzdem für jede fragen einen eigenen thread erstellen

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit