Autor Beitrag
pigfacejoe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 332
Erhaltene Danke: 1

Win 10, Ubuntu
Delphi,Javascript, PHP, Java, Python
BeitragVerfasst: Mi 01.08.07 01:13 
Guten Abend Delphi Community!

Ich versuche einfach nur ein Formular mit der aktuellen Position einer Image Komponente mitzuscrollen: Das bild bewegt sich nach rechts und das Form scrollt mit, das das Bild sichtbar bleibt...
Das versuche ich so:
ausblenden Delphi-Quelltext
1:
form1.HorzScrollBar.Position:=image1.Left;					


Wie macht man das denn sonst?

Gruss
PigfaceJoe
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mi 01.08.07 03:12 
Schau mal nach ScrollBy
passiv
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 270

WIN XP Professional
Delphi 7 Enterprise, Java (Eclipse), Python 2.5, Django 1.1
BeitragVerfasst: Mi 01.08.07 07:11 
oder nimm die scrollbox (o.ä.) die macht das automatisch

_________________
Die Probleme, die es in der Welt gibt, sind nicht mit der gleichen Denkweise zu lösen, die sie erzeugt hat.
Albert Einstein
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 01.08.07 08:50 
Hallo,

ohne ScrollBox, so:
ausblenden Delphi-Quelltext
1:
ScrollInView(Image);					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
pigfacejoe Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 332
Erhaltene Danke: 1

Win 10, Ubuntu
Delphi,Javascript, PHP, Java, Python
BeitragVerfasst: Mi 01.08.07 13:33 
Cool, danke für eure Antworten, hab mich letztendlich für die Methode von Lannes entschieden , klappt prima!

Gruss
Pigface Joe