RE: scrollerdidscroll, but WHAT has bee scrolled?

2018-06-02 Thread Ralph DiMola via use-livecode
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

Re: scrollerdidscroll, but WHAT has bee scrolled?

2018-06-02 Thread Klaus major-k via use-livecode
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

Re: scrollerdidscroll, but WHAT has bee scrolled?

2018-06-02 Thread Mark Waddingham via use-livecode
>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.

Re: scrollerDidScroll - no control ID?

2016-05-07 Thread Richard Gaskin
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

RE: scrollerDidScroll - no control ID?

2016-05-07 Thread John Dixon
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

Re: scrollerDidScroll

2011-09-07 Thread Mark Schonewille
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

Re: scrollerDidScroll

2011-09-07 Thread BNig
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

Re: scrollerDidScroll

2011-09-07 Thread Mark Schonewille
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