mouseenter/mouseleave and pointer tool

Craig Newman craig at starfirelighting.com
Mon Mar 29 09:29:11 EDT 2021


Klaus.

I have always seen this. It does seem a little odd,, though. You can always place something like this wherever you need to, but I know your question is “Why do I need to”

on mouseEnter

if the tool = "browse tool" then pass mouseEnter

end mouseEnter


Craig


> On Mar 29, 2021, at 6:31 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi friends,
> 
> when the pointer tool is active, "mouseenter" and "mouseleave"
> handlers are executed nevertheless!? 
> 
> I don't this this is correct behaviour!
> 
> For the sake of "conceptional continuity" (©Frank Zappa) then all 
> other mouse handlers should be executed and we don't want that. :-)
> All or nothing, right?
> 
> I could swear this was not the case in earlier version, so I searched my
> archives and found that this must have started with version 5.x of LC
> 
> I have an old MetaCard version with Rev engine 4.1 where this does NOT happen.
> But DOES with LC version 5.02
> 
> What do you think?
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list