Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Delete key action (Read 2675 times)
tronied
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: May 7th, 2008
Delete key action
Jan 12th, 2009 at 4:12pm
Print Post  
Hi,

Is it possible to prevent the removal of the graphical workflow boxes when pressing the delete key? Or is it possible to override that functionality, by putting my own code code in place of what happens? The reason is that each box in my app is linked to a database item, and at present users can simply press the delete button to remove the box, but not the database object behind it. I tried having a look around for a method I could override, but couldn't see anything obvious I could use. There is a keyListener, but the removal of the box happens regardless of whether I put code in there or not. Sorry to be a pain, but im still using version 1...

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Delete key action
Reply #1 - Jan 12th, 2009 at 4:19pm
Print Post  
Hi,

There is the setDelKeyAction meted in the latest version. If it's not available in v1, handle the nodeDeleting event and return false to cancel it.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint