Author Topic: top and end of scroll list  (Read 1843 times)

Abe_ForkTech

  • Guest
top and end of scroll list
« on: April 13, 2013, 06:49:24 AM »
hello all,

I am sure my question might have been answered already but unfortunately could not find anything on this.

So the thing is I have scroll lists working just fine, but now I want to show some Arrows that represent that if you are at the top of the scroll list or at the bottom of the scroll list.
Means like if the user is at the bottom of the scroll list the up arrow will be green showing that u can scroll up to view more items, same is the case for down.

Is there a way to know if you have reached the bottom of the scroll list or at the top of the scroll list or is there any thing which get sets when scrolling starts?

Regards,
Abe

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: top and end of scroll list
« Reply #1 on: April 13, 2013, 10:56:09 AM »
I'm not sure there's anything built in for this. You can measure the size of the content and you have the size of the clip range and position of the draggable panel - with this data, you can calculate where you are in the list.