Problem with correct cursor showing up
J. Landman Gay
jacque at hyperactivesw.com
Mon Nov 28 14:28:58 EST 2005
Stgoldberg at aol.com wrote:
> Hope someone can help with the following problem. I want to program a
> button so that the cursor changes to "hand" on MouseEnter and changes back to
> "Arrow" on mouseLeave. I inserted the following script (using Macintosh OS X
> Panther):
>
> on MouseEnter
> set the cursor to hand
> set the lockcursor to true
> end MouseEnter
>
> on mouseLeave
> set the cursor to arrow
> end mouseLeave
>
> While this works in the unbuilt program, once it is built the cursor show up
> as "Watch" rather than "Hand" on both Macintosh and Windows. Anyone have
> a suggestion? Thanks.
RR has changed the cursor IDs a couple of times and I've lost track of
what's what. In the most current version, the cursor ID for "hand" is
28. What happens if instead of using the constant "hand" you use the
actual ID of 28? That is, "set the cursor to 28".
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list