Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Getting top and left position of left click mouse (Read 1966 times)
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Getting top and left position of left click mouse
Oct 16th, 2009 at 1:55pm
Print Post  
Hello Stoyan. I am back again. I need to be able in imagemap mode to set the diagram behavior to
.Behavior = Behavior.DoNothing
but I also need to be able to attain the top and left position of a left mouse click within the diagram if a user clicks on it. Is this posssible? Thanks.
jay
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Getting top and left position of left click mo
Reply #1 - Oct 16th, 2009 at 4:37pm
Print Post  
Hi Jay,

There is no server-side click event for the diagram. You could add a Transparent node at ZIndex = 0 and set its Bounds rectangle to be as big as diagram.Bounds. Then you will be able to detect the click by handling NodeClicked.

Stoyan
  
Back to top
 
IP Logged
 
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Re: Getting top and left position of left click mo
Reply #2 - Oct 16th, 2009 at 5:10pm
Print Post  
Great workaround! Thanks for the solution, Stoyan.
jay
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint