Autor Beitrag
NeWsOfTzzz
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mi 27.10.04 00:11 
Also ich hab ja nen Server und der hat einen Log... ist in dem Fall eine TListBox.. und ich würde gerne die ListBox automatisch bis zum Ende scrollen lassen, so dass man immer die neuesten Einträge im Blick hat.


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 27.10.2004 um 09:40
grayfox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 800

win98, winXP
D4 Standard; D6 Personal
BeitragVerfasst: Mi 27.10.04 00:58 
hallo NeWsOfTzzz!

am einfachsten ist es, wenn du eine listbox auf deine IDE ziehst, sie markierst und F1 drückst.
danach siehst du dir ihre eigenschaften items - count und topindex an. mit ihrer hilfe sollte sich den problem rasch lösen lassen.

mfg, stefan
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mi 27.10.04 01:01 
Ja hab ich schon probiert aber da ist nix passiert :(
edit: ok hab den fehler ^^
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mi 27.10.04 01:22 
nimm mal statt einer listbox ein momo dann läuft es allein "runter"
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Mi 27.10.04 09:35 
Das ist doch keine Lösung. ;-)

Auch bei der ListBox funktioniert das allseits beliebte Scrollmessagesenden:
ausblenden Delphi-Quelltext
1:
SendMessage(ListBox1.Handle,WM_VSCROLL,SB_BOTTOM,0);					


Gruß,
Jörg

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mi 27.10.04 12:08 
viele weg führen nach rom... und wenn man es auch noch ohne code erreicht???
trotzdem ziehe ich die lösung von .chef künftig auch vor :wink: