Set Cursor

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Set Cursor

Post by keyless » Sat May 17, 2008 5:26 am

Why is this not working for an image?

Code: Select all

on mouseEnter
   set cursor to hand
end mouseEnter
Mouse doesn't turn to a hand.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat May 17, 2008 8:20 am

Dear Keyless,

It works, but as soon as the handler has finished, the cursor is reset. If you don't want that, you need to lock the cursor.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Sat May 17, 2008 10:36 pm

Mark wrote:Dear Keyless,

It works, but as soon as the handler has finished, the cursor is reset. If you don't want that, you need to lock the cursor.

Best regards,

Mark
Ok, got it. I'll give that a try.

Post Reply