Page 1 of 1

Conditional scrollerDidScroll handling?

Posted: Sun Jun 03, 2012 3:42 pm
by ctflatt
Good morning, everyone!

I am currently working on a project with two scrollers on the same card.

I cannot figure out how to handle the scrollerDidScroll message depending on which scroller is sending the message.

The logic of figuring this out is escaping me...

Can someone enlighten me?

Thanks!

:Todd

Re: Conditional scrollerDidScroll handling?

Posted: Sun Jun 03, 2012 4:44 pm
by bn
Hi Todd,
look at iphoneControlTarget()

from the iOS Release Notes p 60
While 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.
Kind regards
Bernd

Re: Conditional scrollerDidScroll handling?

Posted: Sun Jun 03, 2012 6:43 pm
by jmburnod
Hi Todd,

This stack have one scroller its manage two groups fld on one card
I hope this help

Best regards

Jean-Marc

Re: Conditional scrollerDidScroll handling?

Posted: Mon Jun 11, 2012 5:33 pm
by ctflatt
Thanks! I appreciate the direction.

Have a great day!

:Todd