Re: Drag/Move Cursor?

2009-10-30 Thread Richard Gaskin

Rick Harrison wrote:

 On Oct 29, 2009, at 8:14 PM, Richard Gaskin wrote:

 set the screenMouseLoc to the screenLoc

 Thank you for the quick, and accurate response!

 It figures that it was the very last item listed when
 I searched for Mouse.  I didn't expect the word
 screen to be a part of it.

Me neither when I was looking for the same thing a while back. :)

It kinda makes sense, though:  the pointer is a global object, and the 
mouseLoc is a translation of those global coordinates into local space, 
so as a translation is can't be set.  The screenMouseLoc being global 
makes it a reasonably sensible way to set the position.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Drag/Move Cursor?

2009-10-30 Thread David Glasgow


On 30 Oct 2009, at 1:14 pm, Rick Harrison wrote:


I've been trying to figure out how to programmatically
move/drag the cursor in a stack to mimic what a human
would do, as a teaching aid.  The documentation is not
very clear on how to accomplish this.


I have done a fair bit of mucking around moving and constraining the  
cursor.  It can get a bit ugly, tricky, disturbing for the user and  
deprecated by user interface purists.  Much better to hide the cursor  
(set the cursor to none) and then show a fake cursor which you can  
move between two points or along a path as you would with any  
object.  You can even colour the teaching cursor to indicate that  
this is showing the user something and so won't be responsive to  
mouse movements.


David Glasgow
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Drag/Move Cursor?

2009-10-29 Thread Rick Harrison

Hi there,

I've been trying to figure out how to programmatically
move/drag the cursor in a stack to mimic what a human
would do, as a teaching aid.  The documentation is not
very clear on how to accomplish this.

Has anyone done this successfully before, who could
point me in the correct direction?

Thanks in advance!

Rick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag/Move Cursor?

2009-10-29 Thread Richard Gaskin

Rick Harrison wrote:

I've been trying to figure out how to programmatically
move/drag the cursor in a stack to mimic what a human
would do, as a teaching aid.  The documentation is not
very clear on how to accomplish this.

Has anyone done this successfully before, who could
point me in the correct direction?


The screenMouseLoc global property is read/write, e.g.:

 set the screenMouseLoc to the screenLoc

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drag/Move Cursor?

2009-10-29 Thread Rick Harrison

Hi Richard,

Thank you for the quick, and accurate response!

It figures that it was the very last item listed when
I searched for Mouse.  I didn't expect the word
screen to be a part of it.

Thanks again,

Rick

On Oct 29, 2009, at 8:14 PM, Richard Gaskin wrote:


set the screenMouseLoc to the screenLoc



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution