Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Catching the Dynamicdiagramlink event (Read 5316 times)
sandeep.m
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Mar 19th, 2010
Catching the Dynamicdiagramlink event
Mar 22nd, 2010 at 5:46am
Print Post  
Hi,

Anyone have idea how to catch the DynamicDiagramlink event drawn by the mouse click?

thanks,
sandeep
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Catching the Dynamicdiagramlink event
Reply #1 - Mar 22nd, 2010 at 7:40am
Print Post  
Hi,

The control raises Diagram.LinkCreated event when the user draws a link.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
sandeep.m
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Mar 19th, 2010
Re: Catching the Dynamicdiagramlink event
Reply #2 - Mar 22nd, 2010 at 8:01am
Print Post  
Hi Stoyan,

Thanks..that worked.

Also,Is there any way to get dynamically what is the index and name of the column
Thanks,
Sandeep
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Catching the Dynamicdiagramlink event
Reply #3 - Mar 22nd, 2010 at 8:10am
Print Post  
Do you mean the link is connected to a TableNode and you need to find out the exact cell?
  
Back to top
 
IP Logged
 
sandeep.m
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Mar 19th, 2010
Re: Catching the Dynamicdiagramlink event
Reply #4 - Mar 22nd, 2010 at 8:12am
Print Post  
Thats right
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Catching the Dynamicdiagramlink event
Reply #5 - Mar 22nd, 2010 at 8:46am
Print Post  
The OriginIndex and DestinationIndex properties refer to the corresponding row. Links are not associated with a column, but in case you have an AnchorPattern associated with a row and points have their Column property set, you could get that from the OriginAnchor / DestinationAnchor. You might also try calling CellFromPoint to get the cell under a specific end point of a link.
  
Back to top
 
IP Logged
 
sandeep.m
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Mar 19th, 2010
Re: Catching the Dynamicdiagramlink event
Reply #6 - Mar 23rd, 2010 at 3:40am
Print Post  
Thanks..that worked
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint