Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic need a OnDropOver Functionality. (Read 1958 times)
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
need a OnDropOver Functionality.
Oct 25th, 2010 at 5:25pm
Print Post  
Hello Stoyan.

Im fighting with the documentation but cannot find anything about it.

I need to know if the user remove multiple node from a container at once.

I can spy when the user add multiple elements with Container.OnDropOver which is called with a selection.
But in the other way (removing multiple elements) its doesnt sound possible.

How can I do that ? or else is there any way to know begining and start of the operation and not just receive delete events one by one ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: need a OnDropOver Functionality.
Reply #1 - Oct 25th, 2010 at 5:58pm
Print Post  
Hi Amaury,

At this time you can do that by handling both ContainerChildRemoved and SelectionMoved. The ContainerChildRemoved  handler could collect the removed items in some List<Node>, and then process the list from SelectionMoved and clear it.

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


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Re: need a OnDropOver Functionality.
Reply #2 - Oct 25th, 2010 at 9:31pm
Print Post  
Once again Stoyan you helped me a lot Cheesy
(and you remembered my name, makes me think I have a lot of problems ahahah)

Its not that nice , but still, working totally fine.

Thanks a lot Stoyan.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint