Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Selecting Links by Position (Read 4270 times)
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Selecting Links by Position
Nov 25th, 2014 at 1:45pm
Print Post  
For some reason after upgrading the control (2.3) the following code doesn't work when the diagram is in read only mode. This used to work. It there some difference in the new version of the control or a different way to do this. BTW, it works for nodes, just not links.

Code
Select All
CustomDiagramLink clickedItem4 = (CustomDiagramLink)currentDiagram.GetLinkAt(pastePoint, 5, true); 

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Selecting Links by Position
Reply #1 - Nov 26th, 2014 at 11:46am
Print Post  
The true argument means it should skip locked links. If that read-only mode is implemented by setting links' Locked property, try calling GetLinkAt(... false) instead.

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