defaultcursor problem

Bob Sneidar bobs at twft.com
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.)

Bob


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 gmail.com
> http://home.comcast.net/~pmbrig
> 
> 
> _______________________________________________
> 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