Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to prevent the nodes from being deleted? (Read 1578 times)
mihai
Junior Member
**
Offline



Posts: 86
Joined: Jul 29th, 2009
How to prevent the nodes from being deleted?
Aug 4th, 2014 at 8:46am
Print Post  
Hi,

Is there a way to prevent the nodes from being deleted? BTW, I still want them to be selectable.

Thanks,
-Mihai
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to prevent the nodes from being deleted?
Reply #1 - Aug 4th, 2014 at 9:55am
Print Post  
Hi,

Handle the NodeDeleting event to prevent selectively, or set diagram.DelKeyAction = DelKeyAction.None;

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
mihai
Junior Member
**
Offline



Posts: 86
Joined: Jul 29th, 2009
Re: How to prevent the nodes from being deleted?
Reply #2 - Aug 4th, 2014 at 11:08am
Print Post  
Works perfectly, thanks Stoyan!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint