mouseDown and mouseUp; Being Called Outside the Group

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

mouseDown and mouseUp; Being Called Outside the Group

dunbarx via use-livecode
I think this a regression in 8.1.9

A behavior, assigned to group, has mouseDown and mouseUp handlers

The behavior is getting mouseDown and mouseUp handlers, ever when called by a behavior another group that has "pass mouseDown"

The two groups not intersecting

BR



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: mouseDown and mouseUp; Being Called Outside the Group

dunbarx via use-livecode
Sannyasin Brahmanathaswami wrote:
 > I think this a regression in 8.1.9
 >
 > A behavior, assigned to group, has mouseDown and mouseUp handlers
 >
 > The behavior is getting mouseDown and mouseUp handlers, ever when
 > called by a behavior another group that has "pass mouseDown"
 >
 > The two groups not intersecting

Does either group have its backgroundBehavior property set?

--
  Richard Gaskin
  Fourth World Systems

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: mouseDown and mouseUp; Being Called Outside the Group

dunbarx via use-livecode
right, the backgroundBehavior it set to "true"

Isn't the bug?

On 3/16/18, 9:28 PM, "use-livecode on behalf of Richard Gaskin via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:

    Sannyasin Brahmanathaswami wrote:
    > I think this a regression in 8.1.9
    >
    > A behavior, assigned to group, has mouseDown and mouseUp handlers
    >
    > The behavior is getting mouseDown and mouseUp handlers, ever when
    > called by a behavior another group that has "pass mouseDown"
    >
    > The two groups not intersecting
   
    Does either group have its backgroundBehavior property set?

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: mouseDown and mouseUp; Being Called Outside the Group

dunbarx via use-livecode
Sounds like it's working as advertised.  Remember, backgrounds are
distinguished from groups by being behind the card in the message path.

Try turning off the backgroundBehavior and see if that does what you're
looking for.

--
  Richard Gaskin
  Fourth World Systems


Sannyasin Brahmanathaswami wrote:
 > right, the backgroundBehavior it set to "true"
 >
 > Isn't the bug?
 >
 > On 3/16/18, 9:28 PM, "use-livecode on behalf of Richard Gaskin wrote:
 >
 >     Sannyasin Brahmanathaswami wrote:
 >     > I think this a regression in 8.1.9
 >     >
 >     > A behavior, assigned to group, has mouseDown and mouseUp
 >     > handlers
 >     >
 >     > The behavior is getting mouseDown and mouseUp handlers, ever
 >     > when called by a behavior another group that has "pass
 >     > mouseDown"
 >     >
 >     > The two groups not intersecting
 >
 >     Does either group have its backgroundBehavior property set?



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode