defaultcursor problem

Bob Sneidar bobs at
Fri Oct 12 12:31:55 EDT 2012

Lock the cursor first. If you don't, it will revert the first idle it gets. As someone mentioned use the cursor. Locking it will prevent the reversion you are seeing. (It actually is changing but so fast you can't see it.)


On Oct 12, 2012, at 6:06 AM, Peter M. Brigham wrote:

> Anyone have an idea why this doesn't work? Put the following into the script of an unlocked field:
> on mousemove
>   put the commandkey is down into cmK
>   if cmK then
>      set the defaultcursor to hand
>   else
>      set the defaultcursor to empty
>   end if
> end mousemove
> I want the cursor to become "hand" with the commandkey down, but it simply remains a bar over an unlocked field. I swear this used to work, but for some reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, build 1210
> -- Peter
> Peter M. Brigham
> pmbrig at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list