niggemann at uni-wh.de
Wed Sep 7 14:52:36 EDT 2011
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
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
if tWhoCalled is sScrolleridT then
set the hScroll of group "ThumbsGroup" to pOffsetX
--set the vScroll of group "ThumbsGroup" to pOffsetY
--put pOffsetX, pOffsetY into field "Offsets"
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.
More information about the Use-livecode