Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Deleting node (Read 1576 times)
monkeydll
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 41
Joined: Jun 27th, 2016
Deleting node
Jul 7th, 2016 at 1:22pm
Print Post  
Hello.
In my diagram there are nodes and links.
When I delete a node from my diagram that is connected to another node via a link, then a messagebox shows up and asks me if i am sure to delete that node, because it is connected to another node. The deletion of the node is handled by the node deleting handler.
When I click yes or no on my Messagebox the node is being deleted. Is there any way that I can prevent the handler of deleting that node when i click no in my messageBox
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: Deleting node
Reply #1 - Jul 7th, 2016 at 1:44pm
Print Post  
Hi,

Set NodeValidationEventArgs.Cancel = true when the user clicks No.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
monkeydll
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 41
Joined: Jun 27th, 2016
Re: Deleting node
Reply #2 - Jul 7th, 2016 at 1:51pm
Print Post  
Thank you very much!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint