Hiding the cursor on Windows

Dave Cragg dcragg at lacscentre.co.uk
Thu Aug 24 12:16:09 EDT 2006


On 24 Aug 2006, at 16:50, J. Landman Gay wrote:

> I am running Windows XP under Parallels on a Mac Intel machine. The  
> command "set cursor to none" does not work. (I did get it to work  
> on one occasion, but I couldn't repeat it.) I don't know if the  
> problem is with Revolution or with Parallels. Could someone with a  
> real XP machine please tell me if this code works?
>
> Make a button with this script and then move the mouse over the  
> button:
>
> on mouseEnter
>  lock cursor
>  set cursor to none
> end mouseEnter
>
> on mouseLeave
>  unlock cursor
> end mouseLeave
>
> If it works for you, then I can stop trying to figure it out. Thanks.

It works here.  (Assuming by working you mean the cursor disappears  
while over the button.)

Cheers
Dave



More information about the use-livecode mailing list