Message path question working with iPhone Control Kit

Michael Doub mike at doub.com
Sat Dec 17 07:48:21 EST 2011


Ahh, part of the mystery is solved.   For each group representing the control, there is a behavior reference in the property inspector.  This behavior reference points to the button id of the BehaviourButton on the (Behaviors) card of the iPhone Control Kit stack.   This explains the message path.

Unfortunately, it does not explain why this one control is not receiving the message even though the reference linkage looks correct.


On 2011-12-16, at 6:00 PM, Michael Doub wrote:

> I am hoping that someone on the list is familiar with the Andreas Rozek's iPhone Control Kit. (http://87.106.227.245/LiveCode/iPhoneControlKit/index_en.html)  I am trying to figure out why the scroller object is not responding to the mouseUp messages.   Poking around I found that I can catch the MouseUp message in the BehaviourButton script of the of the appropriate control on the (Behaviors) card of the iPhone Control Kit stack for all controls except the scroller.   Although the problem I am chasing is with the scroller,  how are the MouseUp messages being routed to the buttons on the (Behaviors) card?   There are no MouseUp handlers in most the controls on the MainCard of the iPhone Control Kit card, or in the MainCard script.  The scroller is an exception and it looks like it doing normal work.   There are not even any MouseUp handlers in the stack script of iPhone Control Kit itself.  
> 
> How are the MouseUp message routed to these controls?   I am clearly missing something. 
> 
> Regards,
>   Mike
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list