Just did a test with 7.0.1, and things seem to work as I’d expect. If I put this into a button, card, and stack:
on mouseenter answer “button” — or “card" or “stack” end mouseenter the answer shows up that I would expect. If I do this: on mouseenter answer “button” — or “card or “stack” pass mouseenter end mounter and move over the button, the answers come in the order of “button”, “card”, “stack”. Isn’t that how it should be? > On Jan 9, 2015, at 9:02 AM, Peter M. Brigham <pmb...@gmail.com> wrote: > > I'm not sure I understand. Are people saying that in some newer versions of > LC the mouseEnter message is not sent to the control being entered but rather > directly to the stack? If this is so, what happens to the target function? > Does it still return the control the mouse is entering? I'm still using OSX > 10.7.4 (Lion) with LC 5.5.1, so if the target doesn't identify the control > I'd have to rewrite hundreds of scripts to upgrade to a newer version. > > -- Peter > > Peter M. Brigham > pmb...@gmail.com > http://home.comcast.net/~pmbrig > > On Jan 9, 2015, at 2:09 AM, J. Landman Gay wrote: > >> It fails on Mavericks too with versions of LiveCode before 7. I didn't know >> it ever worked on other platforms, actually. >> >> On January 9, 2015 12:44:20 AM CST, Mark Wieder <mwie...@ahsoftware.net> >> wrote: >>> Jacque- >>> >>> Thursday, January 8, 2015, 7:06:00 PM, you wrote: >>> >>>> I think he means, he relies on the message being sent to the stack >>> where >>>> there is no other control present. LC 7 sends it, but in all previous >>>> versions, mouseEnter isn't sent directly to cards or stacks, only to >>>> controls on the card. >>> >>>> I wasn't aware of this change either until now. >>> >>> Interesting. Seems to be platform-dependent. >>> It works on linux with LC 5.5.4. >>> And not on Snow Leopard with LC 5.5.3. >>> Don't know about Windows. >>> >>> in new stack script: >>> >>> on mouseEnter >>> put "mouseEnter!" & cr after msg >>> end mouseEnter >> >> -- >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode