Groups and backgrounds

Rob Cozens rcozens at pon.net
Wed Jul 7 23:09:20 EDT 2004


Hi Troy,

>I tend to put most of my scripts at the group level, rather than the 
>object level. On some of these groups I select "background behavior" 
>in the property inspector. I had understood that this would put the 
>group in the message path between the card and the stack... but it 
>doesn't seem to behave like that.

The background behavior property has nothing to do with the message 
path: it simply determines whether the group is included on any new 
card created in the stack.

>If my group has a method... er, handler called "groupAction" and the 
>group is "background behavior TRUE" then I had thought that *any* 
>object on the card could do like -
>
>on mouseUp
>	groupAction
>end mouseUp

Not *any* object on the card: just controls in the group.
-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list