Newbie question - Set the cursor to....
Richmond Mathewson
richmondmathewson at gmail.com
Fri May 8 17:07:26 EDT 2009
Very badly documented:
on mouseEnter
set the lockCursor to true
set the cursor to hand
end mouseEnter
on mouseLeave
set the cursor to arrow
set the lockCursor to false
end mouseLeave
Stephen Cox wrote:
> I¹m gonna preface [the subject] all my questions with ³Newbie² so those who
> have no interest in nubs can move on. Trust, I know it can be painful. ;)
>
> I got a card. With a label or button. I want to change the cursor of the
> mouse to a hand then back to arrow when the user moves on/off the object.
>
> on mouseEnter
> set the cursor to hand
> end mouseEnter
>
> on mouseLeave
> set the cursor to arrow
> end mouseLeave
>
> The above should work? Or am I missing something about the cursor command? I
> placed a breakpoint and followed the code. It fires, just doesn¹t change the
> cursor.
>
> Maybe I¹m using mouseEnter/mouseLeave incorrectly?
>
> Thanks for any info.
>
> -Stephen Cox
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list