How do I get the scroller to start at the top after new data has been loaded into a list. I see the messages sent to the scroller includes scrollerScrollToTop, but not sure how to use it. My datagrid with wrapper around it is called dgTimeCard. I load data into this dgrid often but each time new data is loaded,i want the view to be back at the top and not where the last scroll took place.
cheers
Scroller
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: Scroller
Try the following;
MyScroller being the name of the group.
I think it's time to get into documentation mode again and pull the various notes and updates all together.
John.
Code: Select all
scrollerToTop "MyScroller"
I think it's time to get into documentation mode again and pull the various notes and updates all together.
John.
LiveCode Development & Training : http://splash21.com