Custom cursing

Richmond richmondmathewson at gmail.com
Wed Feb 23 10:30:18 EST 2011


I previously wrote:

-------- Original Message --------
Subject: 	Custom cursors
Date: 	Fri, 18 Feb 2011 20:15:46 +0200
From: 	Richmond <richmondmathewson at gmail.com>
To: 	How to use LiveCode <use-livecode at lists.runrev.com>



Yes, I know this is a fairly well trodden path; BUT . . . .

I am looking to use a PNG image ("XXX.png") as a cursor image
within a text field only.

-----------------------------------------------------------------------

And I have just tried this in a fld in a stack that contains an image ID 
9999:

the script is in the fld's script-editor

on mouseMove
   set the defaultCursor to 9999
end mouseMove

on mouseLeave
   set the defaultCursor to empty
end mouseLeave

with no joy at all.

Using 'set the cursor' (rather than 'defaultCursor') is similarly 
unproductive.




More information about the use-livecode mailing list