Hi Mark,

I got 2 scrollers to work on one card. It worked very well. One was
vertically and one was a horizontally.

To find out who has send the message use the  iphoneControlTarget() function

try something like this:

on scrollerDidScroll pOffsetX, pOffsetY
   lock screen
   local tWhoCalled
   put iphoneControlTarget() into tWhoCalled
   if tWhoCalled is sScrollerID then
      --set the hScroll of group "BigGroup" to pOffsetX
      set the vScroll of group "BigGroup" to pOffsetY
   end if
   
   if tWhoCalled is sScrolleridT then
      set the hScroll of group "ThumbsGroup" to pOffsetX
      --set the vScroll of group "ThumbsGroup" to pOffsetY
   end if
   unlock screen
   
   --put pOffsetX, pOffsetY into field "Offsets"
end scrollerDidScroll

Kind regards

Bernd

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrollerDidScroll-tp3796617p3796940.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
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