Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic attching a node to mouse pointer ? (Read 1942 times)
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
attching a node to mouse pointer ?
Mar 9th, 2009 at 5:09am
Print Post  
Hi Stoyo,

            whether it would be possible to attach a node to mouse pointer on certain event , and when user clicks on graph area node should be placed to that  part of graph.

Thank you
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: attching a node to mouse pointer ?
Reply #1 - Mar 9th, 2009 at 9:33am
Print Post  
Hi Jay,

You could create a node in response to that event, set some boolean field to true, and in the mouseMove handler move the node to the pointer position if the boolean flag is enabled. In the click handler just set the flag back to false.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
Re: attching a node to mouse pointer ?
Reply #2 - Mar 9th, 2009 at 9:49am
Print Post  
Hi stoyo,

             Thank you for reply, idea is good, it would work.


  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint