mouseMove & backgoundBehavior

Jim Lambert jiml at netrin.com
Thu Apr 27 15:53:16 EDT 2017


RichardG wrote:
> when you set the backgroundBehavior of a group to true... that group's script then occupies a different 
> place in the message path, between the card and the stack
Ah, yes, the light dawns - the message path.
Because LC ‘backgrounds” can be smaller than the card, checking the target or using ‘within’ would be needed to constrain actions taken to the rect of a background group.

And since multiple backgrounds are possible, only the script of the topmost background seems to be inserted in between the card and stack in the message path.
One must click directly on objects within other, lower background groups to trigger its handlers.

Thanks,

JimL
 


More information about the use-livecode mailing list