Author Topic: Go back to top automatically (Scroll)  (Read 3538 times)

Hidden

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Go back to top automatically (Scroll)
« on: April 19, 2012, 07:11:24 AM »
Hi all  ;D

I will like to known if there is an easy way to automatically scroll a panel to the top, I have a UIPanel and and using UIDrag components :) It's scrolling perfectly but I just need to add that functionality also....

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Go back to top automatically (Scroll)
« Reply #1 on: April 19, 2012, 11:45:07 AM »
UIDraggablePanel.ResetPosition()

Hidden

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Go back to top automatically (Scroll)
« Reply #2 on: April 19, 2012, 12:11:18 PM »
Is there a similar function for UIDragPanelContents?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Go back to top automatically (Scroll)
« Reply #3 on: April 19, 2012, 12:50:36 PM »
UIDragPanelContents simply points to UIDraggablePanel. Make sure you are using the latest version.