Einzelnen Beitrag anzeigen

a.vollmer
(Gast)

n/a Beiträge
 
#1

Problem bei Automatischem Scrollen mit Listbox

  Alt 21. Mai 2004, 22:53
Hi,


ich scrolle meine Listbox mit folgendem Code in nem Timer automatisch:

Delphi-Quellcode:
if ListBox1.TopIndex = ListBox1.Items.Count-1 then
begin
ListBox1.TopIndex := 0;
end
else
begin
ListBox1.TopIndex := ListBox1.TopIndex + 1;
end;

Jetzt hab ich 2 Probleme!

1. Vom ersten Item aufs zweite scrollt die Listbox mit sanften Übergängen, danach nicht mehr..Abgehakt...Kann man das irgendwie ändern?

2. Gibt es ne Möglichkeit die Scrollbars der Listbox auszuschalten?

Gruß

Alex
  Mit Zitat antworten Zitat