On 16/06/2012 22:45, Matthias Rebbe wrote:
i am pretty sure that i am doing something wrong. But i cannot get it work to 
scroll a group of buttons/fields and images with the iosScroller.
A single field works here without problems. Or is it not possible to use the 
iosScroller with a group of different objects?

In the runrev lessons area there is an example how to scroll a group with 2 
images and 2 text fields. But that solution does not use the iosScroller object.
Does anyone know about an example/tutorial which shows how to scroll a group of 
objects?

I got it to work with a DataGrid called "events", which is a group.

Oh, in looking at the code, I did this:

on scrollerDidScroll OffsetX, OffsetY
  send "dgScrollbarDragV "&OffsetY to group "events"
  send "dgScrollbarDragH "&OffsetX to group "events"
end scrollerDidScroll

Perhaps there's a further clue in the code for dgScrollBarDrag[VH] handler?

-Ken


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to