How to set the cursor??

Judy Perry jperryl at
Wed Oct 29 17:02:06 EST 2003


I understand the need to use the lockCursor property when using
mouseEnter, which is sent I thought just ONCE, but still do not understand
why it is necessary when using mouseWithin, which I had thought was sent

Else, what is the difference between mouseEnter and mouseWithin?

Thank you,


On Tue, 28 Oct 2003, Ken Ray wrote:

> Judy,
> You need to lock the cursor so it will remain with what you want:
> on mouseEnter
>   set the lockCursor to true
>   set the cursor to <cursor>
> end mouseEnter
> on mouseLeave
>   set the lockCursor to false -- to return to your original cursor
> end mouseLeave

More information about the Use-livecode mailing list