Page 1 of 1

How to attach/use revCursors?

Posted: Tue Mar 23, 2010 2:55 pm
by ale870
Hello,

I want to use the command set the cursor to hand to change cursor shape, but nothing happen. Then I noticed that revCursors.rev stack is NOT in my stacks list. Please note I have this problem in the IDE, and not in runtime (I know I need to attach that stack).

How can I attach the stack in the IDE, so I can use it properly?

Thank you!

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 3:26 pm
by Mark
ale870 ,

Go to the General pane of the Standalone Settings window and choose Select inclusions for the standalone application. Activate the Cursors checkbox.

Best regards,

Mark

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 3:34 pm
by ale870
But if I'm not wrong, I think that is the way to include cursors in standalone files, not in the IDE. is it correct?

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 3:46 pm
by Mark
ale870,

It just can't be that you don't see a hand in the IDE but do see it in a standalone. Perhaps, your problem isn't that the stack is not included. Try this:

Code: Select all

on mouseUp
  set the cursor to hand
  wait 5 secs
end mouseUp
Do you see the hand?

Best,

Mark

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 3:52 pm
by ale870
Yes, I see the hand!!
And then? What is happening?

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 4:05 pm
by Mark
ale870,

The cursor property is reset as soon as the handler finishes. To make the cursor change persistent, you need to use the defaultCursor.

Best,

Mark

Re: How to attach/use revCursors?

Posted: Tue Mar 23, 2010 4:13 pm
by ale870
Thank a lot!
It works perfectly!!!! :D