Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic determine where user click on a link (Read 1055 times)
billcch
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Nov 15th, 2007
determine where user click on a link
Oct 9th, 2009 at 9:51pm
Print Post  
In diagram1_LinkSelecting event, how can I determine if user click on base, head or anyother part of link.  I need to provide extra action when user click on base or head of a link.
BTW: I am using FlowChart.Net Pro 5.1.1

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: determine where user click on a link
Reply #1 - Oct 10th, 2009 at 5:29pm
Print Post  
You could check if the distance from the mouse position to the first and last of ControlPoints is smaller than BaseShapeSize and respectively ShapeHeadSize.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint