global way to change cursor

Richard Gaskin ambassador at fourthworld.com
Thu Jun 3 18:44:59 EDT 2004


RGould8 at aol.com wrote:

> 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?

The defaultCursor global property is what you're looking for.  You can 
use mouseEnter and mouseLeave to check the type of object you're over to 
change that property to the cursor image you want.

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________
  Rev tools and more:  http://www.fourthworld.com/rev


More information about the use-livecode mailing list