Re: Greenhorn Question

2013-08-02 Thread Peter M. Brigham
You have to lock the cursor, or it resets to default on idle as soon as the handler finishes. Best practice is to just set the defaultcursor, which obviates the need to lock the cursor. Locking the cursor can lead to frozen cursors if somehow your unlock cursor command fails to trigger. Very

Greenhorn Question

2013-07-31 Thread Ruediger Wilhelm
I hardly dare to ask this most likely trivial question to this list. Why does the cursor not change on my button script: on mouseEnter set the cursor to hand end mouseEnter Thanks to somebody who cares to help! Ruediger -Original Message- From: use-livecode

Re: Greenhorn Question

2013-07-31 Thread Peter Bogdanoff
Also add a line: set the lockCursor to true and later, when you're done: set the lockCursor to false Peter Bogdanoff UCLA On Jul 31, 2013, at 7:48 AM, Ruediger Wilhelm wrote: I hardly dare to ask this most likely trivial question to this list. Why does the cursor not change on my

Re: Greenhorn Question

2013-07-31 Thread Mark Schonewille
Hi RĂ¼diger, The cursor changes, but is reset immediately after the handler finishes. There are two possible solutions. on mouseEnter lock cursor set the cursor to hand end mouseEnter on mouseEnter set the defaultCursor to hand end mouseEnter -- Best regards, Mark Schonewille

Re: Greenhorn Question

2013-07-31 Thread Neil Roger
As Peter has mentioned... something like this will work. on mouseEnter set the lockCursor to true set the cursor to hand end mouseEnter on mouseLeave set the lockCursor to false end mouseLeave Kind Regards, Neil Roger - RunRev Support Team ~ http://www.runrev.com -- On

Re: Greenhorn Question

2013-07-31 Thread dunbarx
to use LiveCode use-livecode@lists.runrev.com Sent: Wed, Jul 31, 2013 11:05 am Subject: Re: Greenhorn Question As Peter has mentioned... something like this will work. on mouseEnter set the lockCursor to true set the cursor to hand end mouseEnter on mouseLeave set the lockCursor

RE: Greenhorn Question

2013-07-31 Thread Ruediger Wilhelm
Thank you, Peter, Mark and Neil. Now even my cursor changes. Ruediger -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Bogdanoff Sent: Mittwoch, 31. Juli 2013 16:59 To: How to use LiveCode Subject: Re: Greenhorn Question Also add