Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DelKeyAction.None doesn't work (Read 1334 times)
Thomas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 29th, 2010
DelKeyAction.None doesn't work
Dec 1st, 2010 at 3:10pm
Print Post  
It seems that Diagram.DelKeyAction = DelKeyAction.None has no effect? It's still posible to dele items?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DelKeyAction.None doesn't work
Reply #1 - Dec 1st, 2010 at 4:13pm
Print Post  
It's a bug. Try to also override the default Delete command as a work-around:

Code
Select All
diagram.DelKeyAction = DelKeyAction.None;
diagram.CommandBindings.Add(new CommandBinding(
	ApplicationCommands.Delete, (sender, args) => { })); 

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint