Autor Beitrag
bigmasterdenis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 48



BeitragVerfasst: Mo 13.08.07 12:19 
Hi Leute!

Weiß jemand wie man den Scrollbalken ener TScrollBox verschiebt? Ich möchte z.B. dass der Scrollbalken zu einer bestimmten Zeit oben ist (also ungescrollter Zustand).

Danke für eure Hilfe!
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Mo 13.08.07 12:37 
Wie wärs mit
ausblenden Delphi-Quelltext
1:
ScrollBox.HorzScrollBar.Position:=0					

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
bigmasterdenis Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 48



BeitragVerfasst: Mo 13.08.07 12:42 
Die Sache ist so: wenn der Scrollbalken unten ist, drücke ich auf einen Button daraufhin soll der Scrollbalken wieder nach oben wandern. Mit ScrollBox.HorzScrollBar.Position:=0 funktioniert dies leider nicht :-(
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Mo 13.08.07 12:45 
Ups, das war für Rechts/Links.
ausblenden Delphi-Quelltext
1:
ScrollBox.VertScrollBar.Position:=0					

Das sollte gehn.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
bigmasterdenis Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 48



BeitragVerfasst: Mo 13.08.07 12:49 
ja hab ich inzwischen auch gemerkt :-D
So gehts! Danke für den Tipp! Jetzt kann ich endlich weiter machen :-)