mouseenter/mouseleave and pointer tool

Paul Dupuis paul at researchware.com
Mon Mar 29 09:44:15 EDT 2021


I think if you are making a drawing app in Livecode, you need mouseEnter 
and mouseLeave with the pointer tool so you can have object scrips 
change the cursor icon to appropriate icons when over certain special 
objects that you want to interact with as objects.


On 3/29/2021 6:17 AM, Klaus major-k via use-livecode 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