Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Delete node programmatically (Read 8162 times)
mjweyland
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Apr 2nd, 2007
Re: Delete node programmatically
Reply #15 - Mar 21st, 2008 at 2:59pm
Print Post  
Ok. I found my problem. 

I was explicitly testing on the type of object in the selection items and was testing against "Box". With the new version it should be of type "ShapeNode"  when I made this change things are responding as expected.

My apologies for the confusion.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Delete node programmatically
Reply #16 - Mar 21st, 2008 at 3:01pm
Print Post  
This is impossible if DelKeyAction is really set to None. Check if you aren't accidently setting it to ActiveItem/Selection at some point in your code, or if the nodes aren't deleted from some other event handler.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint