Klaus,
I name the scroller the same as the control it's scrolling. The
"scrollderdidscroll" is only sent to the stack that created it. If you have
a generic "create scroller" handler in a library stack then the
"scrollderdidscroll" message will only go to that stack. In the context of
"scrollderdi
Hi Mark,
> Am 02.06.2018 um 15:29 schrieb Mark Waddingham via use-livecode
> :
>
> From memory I think there is mobileControlTarget() function which is the
> equivalent of 'the target'.
ah, yes, that's what I was looking for, thanks a bunch! :-)
> Warmest Regards,
>
> Mark.
>
> Sent from my
>From memory I think there is mobileControlTarget() function which is the
>equivalent of 'the target'.
Warmest Regards,
Mark.
Sent from my iPhone
> On 2 Jun 2018, at 13:04, Klaus major-k via use-livecode
> wrote:
>
> Hi friends,
>
> this interesting question came up in the german LC forum.
John Dixon wrote:
> In the context of a message that has been dispatched from a native
> control, you can use the iphoneControlTarget() function to fetch the
> name (or id, if no name is set) of the control that sent the message.
Thanks, John. I just stumbled across the mobileControlTarget func
In the context of a message that has been dispatched from a native control, you
can use the
iphoneControlTarget() function to fetch the name (or id, if no name is set) of
the control that sent
the message.
> To: use-livecode@lists.runrev.com
> From: ambassa...@fourthworld.com
> Subject: scroller
Thank you, Bernd. You saved me a lot of time and made me look at the docs and
my code just one more time :-) It works now.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50
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
Hi
I'm doing some more tests. I might be doing something wrong, but it would be
useful if someone could confirm that it is possible to create more than one
scroll view at a time in iOS?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://econo