Change the default cursor of revolution

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alemrantareq
Posts: 203
Joined: Wed Jul 23, 2008 8:46 am

Change the default cursor of revolution

Post by alemrantareq » Fri Nov 21, 2008 12:02 pm

Hi,
I need a solution. Rev studio has its own cursor. I've made a script with "Hand" cursor of rev, but its not preferable to me. How can I use my own cursor in leau of the "hand" cursor of rev?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sun Nov 23, 2008 1:49 pm

In theory it can be as simple as

Code: Select all

set the defaultCursor to theCursorImageId
assuming that you have imported a correct image into your stack and that 'theCursorImageId' corresponds to its ID.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sun Nov 23, 2008 6:28 pm

don't forget the "lock cursor" command, respectively the "lockCursor" property. It's important for many cases too.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply