closeField - Curious

Bob Sneidar bobs at twft.com
Wed Jan 5 12:33:00 EST 2011


Just tested works fine. I have a closeField handler in the card script, a field and a button. The button goes to card 2. The closeField handler beeps twice. When I click the button after editing the field contents it beeps twice. That means the card script is in fact getting the message. 

I suspect something else has a closeField handler that is trapping the message. 

Bob


On Dec 18, 2010, at 8:14 PM, Mike Kerner wrote:

> ok, then riddle me this:
> 
> I have a field, but instead of putting the closeField handler in the field,
> I put it in the card.  On that card I have a button that goes to another
> card.  In that case, the closeField message is not passed to the card, only
> if i have the closeField handler in the field.  If I do not have a button
> that navigates off the card, but instead I just tab from field to field, the
> closeField message is received.  So why isn't it passed up the hierarchy if
> I am going to navigate off the card, but it does if I stay on the card?
> _______________________________________________
> 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