Problem with fixed list movement
#1
Hi all,

Is there a way to create a boolean that returns true (or false) when a fixed list container reaches a certain offset from the last item position? So for example if i wanted a conditional to become true when a container is focused on the last one of the last 5 positions, no matter the size of the list. Any ideas?

The reason i need this, is i need a certain animation not to happen, when a fixed list container reaches the 6th item from the last (the movement is set to 6, so the list will begin scrolling again from this position). Thanks in advance Smile
Reply
#2
Code:
Container(id).Position(pos)
Reply
#3
How can that be used to for example return true for the 5th last item from a list?
Reply
#4
Depends how many items are in the list so if it was 20 items items then the condition would be Container(id).Position(15).
Reply
#5
Yeah - well i was looking for a way to do this without knowing the number of items in the list. But thanks anyway Smile
Reply
#6
You could use Container(id).HasNext to tell if the list would start scrolling towards the end.
Reply
#7
That works! Thank you so much man Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with fixed list movement0