Autor Beitrag
mexx
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1183



BeitragVerfasst: Fr 21.07.06 10:43 
Ok, der Titel trifft es nicht ganz.

Ich fülle eine ListBox. Die Inhale werden jedesmal unten hinzugefügt. Wie bringe ich meine Listbox dazu, dass sie automatisch nach unten scrollt, damit ich sehe, welche eintrag hinzugefügt wird.

_________________
Das Unsympathische an den Computern ist, dass sie nur ja oder nein sagen können, aber nicht vielleicht.
Arno Nym
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131



BeitragVerfasst: Fr 21.07.06 19:28 
Hi!
du benutzt ja sicher die add-Funktion dann gehts so:
ausblenden Delphi-Quelltext
1:
 Listbox1.ItemIndex := Listbox1.Items.Add(...);					

Freundliche Grüße von,
Arno Nym
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Fr 21.07.06 19:37 
oder so:
ausblenden Delphi-Quelltext
1:
2:
 listbox1.ItemIndex := Listbox1.Items.Count -1;
 listbox1.Selected[Listbox1.Items.Count] := false;
;)