global way to change cursor

RGould8 at aol.com RGould8 at aol.com
Thu Jun 3 18:05:08 EDT 2004


Can anyone tell me if there's a global way to make the cursor change, based 
on whether the user has the mouse over a button vs. a field?   Something I 
could do at the stack level, as opposed to a card-by-card basis?

I'm on Mac OS X, and as a test, I wrote this stack script.   The stack has 1 
card, which has 1 button on it:

on mouseMove
   put "Control = " & the mouseControl
   if the mouseControl contains "control" then
     set the cursor to hand
   else
     set the cursor to arrow
   end if
   
end mouseMove

I see the cursor "try" to change, but it seems to go back to a pointer 
instantly.


More information about the use-livecode mailing list