Groups in the message path: Trapping Mouseup

Alex Tweedly alex at tweedly.net
Mon Dec 9 14:13:57 EST 2019


On 12/9/19 6:30 AM, Sannyasin Brahmanathaswami via use-livecode wrote:
>> In this use case,
>>
>> - the button "starWidget"  is a "standalone" button on an independent 
>> layer on the card  and not a part of any group
>> -- @Jacque... the groups that are trapping the mouseup I are 
>> background groups using on various card.
>>   Mark Weider says "A background group will definitely get the 
>> message before the stack
>> script does. Also any script being used as a behavior."
>>
>> BR: is this "really" expected behavior? gosh, I hope not! 
>> "Encapsulation"would mean

BR - are you maybe reading more into it than Mark meant.

I think the correct (and nit-picky) statement is ...

Mark Weider says "A background group will definitely get the message 
before the stack
script does. Also any script being used as a behavior **for the 
background group**."

Hope I'm not misconstruing it, and that's not making everything more 
confusing ...

Alex.




More information about the use-livecode mailing list