Welcome,
Guest
. Please
login
or
register
.
September 18, 2025, 08:45:59 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scrolling ScrollView in Code
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scrolling ScrollView in Code (Read 2497 times)
Bobbin
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 18
Scrolling ScrollView in Code
«
on:
March 13, 2014, 09:01:23 AM »
I need to change the scroll position of a scrollview element after pushing a button.
I've tried several things but nothing seems to work. Help?
Logged
No one ever said being a Heretic was easy.
So may we meet in Less Interesting Times.
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scrolling ScrollView in Code
«
Reply #1 on:
March 14, 2014, 12:15:36 PM »
SpringPanel.Begin will move the scroll view to the target local position of your choice. UIScrollView.SetDragAmount will move the scroll view to the target relative position (0-1 range).
Logged
Bobbin
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 18
Re: Scrolling ScrollView in Code
«
Reply #2 on:
March 16, 2014, 03:36:14 AM »
Thanks.
Logged
No one ever said being a Heretic was easy.
So may we meet in Less Interesting Times.
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scrolling ScrollView in Code