a card answering to a mouseUp of the script of one of its groups!!!

André Bisseret andre.bisseret at wanadoo.fr
Mon Oct 11 11:50:09 EDT 2010


Bonjour,

On the cards of a stack I have a group of fields (with  
backgroundBehavior set to true).

Clicking on a line of any field of the group, open a substack (among  
others stuff)

For that I have a mouseUp handler in the script of the group (refering  
to the target to get the name of the field).
Worked normally up to now.

But this morning, the mouseUp handler is triggered, not only when  
clicking on a field of the group, but also when clicking anywhere on  
the card!!!! (in this case, If I ask for the target, I get the name of  
the card !!)


First time I get that; the only way I found to avoid that was to trap  
the mouseUp message in the script of the card!!
Not possible to keep such a trick!

Any idea on what I could have done wrong?

Thanks a lot in advance for any help


Best regards from Grenoble

André





More information about the use-livecode mailing list