Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AllowOutgoingLinks with HandlesStyle.EasyMove (Read 1458 times)
fireboy
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Dec 17th, 2009
AllowOutgoingLinks with HandlesStyle.EasyMove
Mar 8th, 2010 at 1:34pm
Print Post  
Hi,
it looks like AllowOutgoingLinks property on a ShapeNode is ignored when the node has HandlesStyle set to EasyMove. It's possible to draw links from the bubble in the center.
How can I prevent creation of links from a node with EasyMove handles?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AllowOutgoingLinks with HandlesStyle.EasyMove
Reply #1 - Mar 8th, 2010 at 2:43pm
Print Post  
Hi,

Try this as a work-around:

Code
Select All
private void OnLinkCreating(object sender, LinkValidationEventArgs e)
{
	if (!e.Origin.AllowOutgoingLinks)
		e.CancelDrag();
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
fireboy
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Dec 17th, 2009
Re: AllowOutgoingLinks with HandlesStyle.EasyMove
Reply #2 - Mar 8th, 2010 at 3:01pm
Print Post  
Thanks, it works.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint