The CURSOR curse

Klaus Major kmajor at metascape.org
Wed Jun 26 12:56:00 CDT 2002


Hi Dar,

>
> On Wednesday, June 26, 2002, at 05:04 AM, Klaus Major wrote:
>
>> if you want the cursor to be persistent after the script is finished,
>> you have to  set the lockcursor to true.
>>
>> The above is the "normal" behaviour.
>>
>> The cursor is reset after the script is finished.
>
> Does this mean I don't have to save it and set it back?  I can just set 
> it at the top of my handler?

Yessir ! :-)

See my example scripts:

on mouseenter
    set the lockcursor to true
   set cursor to arrow
end mouseenter

on mouseleave
   set the lockcursor to false
   set the cursor to hand ## or whatever
end mouseleave

> Dar Scott

Regards


Klaus Major
kmajor at metascape.org




More information about the use-livecode mailing list