Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node/Link text modified (Read 1420 times)
marie
Full Member
***
Offline



Posts: 147
Joined: Nov 11th, 2008
Node/Link text modified
Dec 8th, 2008 at 3:58pm
Print Post  
Hi,

I noticed that the events diagram.NodeModified & diagram.LinkModified are not called when the text of a node or link gets changed. How can I catch that change? Any other modification that I need to know about? (I want to know about any change that needs save)

Thank you.
Marie
« Last Edit: Dec 8th, 2008 at 6:56pm by marie »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node/Link text modified
Reply #1 - Dec 8th, 2008 at 6:04pm
Print Post  
There are the NodeTextEdited and LinkTextEdited events raised when the user edits the text of an item. You could use the DirtyChanged event to know when the diagram needs saving.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
marie
Full Member
***
Offline



Posts: 147
Joined: Nov 11th, 2008
Re: Node/Link text modified
Reply #2 - Dec 8th, 2008 at 6:29pm
Print Post  
Thanks! I will probably use DirtyChanged.

Regards,
Marie

Edit: DirtyChanged is too sensitive (by example a graph is dirty if selection changed). I will handle it manually Wink
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint